def click_first_author(self): author_item = self.selenium.find_element(*self._author_locator) ActionChains(self.selenium).\ move_to_element(author_item).click().\ perform() from pages.desktop.user import User return User(self.testsetup)
def click_username(self): self._root_element.find_element(*self._username_locator).click() from pages.desktop.user import User return User(self.base_url, self.selenium)
def click_username(self): self._root_element.find_element(*self._username_locator).click() from pages.desktop.user import User return User(self.testsetup)