def __str__(self):
    if (((not self.url_name) and (not self.click_css_selector)) or (self.url_name and self.click_css_selector)):
        return str(None)
    else:
        result = vars(self).copy()
        if self.url_name:
            result.pop('click_css_selector')
        elif self.click_css_selector:
            result.pop('url_name')
        return str(result)
def __str__(self):
    if (((not self.url_name) and (not self.click_css_selector)) or (self.url_name and self.click_css_selector)):
        return str(None)
    else:
        result = vars(self).copy()
        if self.url_name:
            result.pop('click_css_selector')
        elif self.click_css_selector:
            result.pop('url_name')
        return str(result)