def step_impl(context): page = BasePage(context.driver) assert page.title.is_displayed()
def step_impl(context, content): page = BasePage(context.driver) assert page.title.text == content
def step_impl(context): page = BasePage(context.browser) assert page.title != None
def step_impl(context, content): page = BasePage(context.browser) assert page.title.get_attribute("textContent") == content
def step_impl(context, content): page = BasePage(context.driver) assert content in page.h1.text
def step_impl(context, title_content): page = BasePage(context.driver) assert page.title.text == title_content # getting the page title text
def step_impl(context): page = BasePage( context.driver) # using the base_page model for generic steps assert page.title.is_displayed()