def step_impl(context, continue_email):
    email_btn_text = context.driver.find_element_by_xpath(
        email_btn_xpath).get_attribute('value')
    assert_equals(continue_email, email_btn_text)

    find_by_xpath_and_click(context, email_btn_xpath)
    wait(3)
def step_impl(context):
    find_by_id_and_click(context, submit_btn_id)
    wait(2)
def step_impl(context):
    wait(3)
    find_by_xpath_and_click(context, email_btn_xpath)
def step_impl(context):
    find_by_xpath_and_click(context, x_icon_xpath)
    wait(2)
def step_impl(context):
    find_by_id_and_click(context, login_btn_id)
    wait(2)
示例#6
0
def step_impl(context, upfront_amount):
    find_by_xpath_and_send_keys(context, upfrontamount_input_xpath, upfront_amount)
    wait(2)
示例#7
0
def step_impl(context):
    find_by_xpath_and_click(context, upfrontamount_input_xpath)
    wait(2)
示例#8
0
def step_impl(context, city):
    find_by_id_and_send_keys(context, homecity_input_id, city)
    wait(5)
    find_by_xpath_and_click(context, city_dropdown_xpath)
示例#9
0
def step_impl(context):
    select = Select(context.driver.find_element_by_id(homestate_input_id))
    select.select_by_value('NY')
    wait(3)