Example #1
0
def step_impl(context):
    page = RegisterPage(context.driver)
    page.submit_button.click()
Example #2
0
def step_impl(context, content, field_name):
    page = RegisterPage(context.driver)
    page.form_field(field_name).send_keys(content)
Example #3
0
def step_impl(context):
    context.driver = webdriver.Chrome('C:/chromedriver.exe')
    page = RegisterPage(context.driver)
    context.driver.get(page.url)
Example #4
0
def step_impl(context):
    expected_url = RegisterPage(context.driver).url
    assert context.driver.current_url == expected_url
def step_impl(context):
    page = RegisterPage(context.driver)
    assert page.form.is_displayed()