예제 #1
0
def fill_out(driver: WebDriver, details: dict):
    form_selectors = SELECTORS["form"]
    fill_out_input_fields(driver, form_selectors, details)
    pick_option(driver, form_selectors, details)
    check_radio(driver, form_selectors, details)
    fill_out_textarea_fields(driver, form_selectors, details)
    tick_captcha_checkbox(driver)
def fill_out(driver: WebDriver, details: dict):
    check_radio(driver, SELECTORS["form"], details)
    if details["yes"]:
        pick_option(driver, SELECTORS["form"], details)
        fill_out_input_fields(driver, SELECTORS["form"], details)
        fill_out_textarea_fields(driver, SELECTORS["form"], details)
예제 #3
0
def fill_out(driver: WebDriver, details: dict):
    form_selectors = SELECTORS["form"]
    check_radio(driver, form_selectors, details)
    tick_checkboxes(driver, form_selectors, details)
    fill_out_textarea_fields(driver, form_selectors, details)
def fill_out(driver: WebDriver, details: dict):
    form_selectors = SELECTORS["form"]
    check_radio(driver, form_selectors, details)
    pick_option(driver, form_selectors, details)
    fill_out_input_fields(driver, form_selectors, details)
예제 #5
0
def fill_out(driver: WebDriver, details: dict):
    form_selectors = SELECTORS["form"]
    check_radio(driver, form_selectors, details)
예제 #6
0
def fill_out(driver: WebDriver, details: dict):
    check_radio(driver, SELECTORS["form"], details)