class Logout(BasePage): page_url = UrlManager().logout_url() def wait_for_logout(self): self.wait_until_visible(LogoutLocators.logout_msg)
def __init__(self, driver, page_id=None): BasePage.__init__(self, driver) url_manager = UrlManager(page_id=page_id) self.page_url = url_manager.edit_page_url()
class Logout(BasePage): page_url = UrlManager().logout_url()