Exemplo n.º 1
0
def step_impl(context):
    page = SignupPage(context.driver)
    page.submit_button.click()
Exemplo n.º 2
0
def step_impl(context, content, field_name):
    page = SignupPage(context.driver)
    page.form_field(field_name).send_keys(content)
def step_impl(context):
    context.driver = webdriver.Chrome('C:/chromedriver.exe')
    page = SignupPage(context.driver)
    context.driver.get(page.url)
def step_impl(context):
    expected_url = SignupPage(context.driver).url
    assert context.driver.current_url == expected_url
def step_impl(context):
    page = SignupPage(context.driver)
    assert page.form.is_displayed()