def submit(driver: WebDriver) -> Union[ModuleType, None]: return submit_form(driver, SELECTORS["form"])
def submit(driver: WebDriver) -> Union[ModuleType, None]: return submit_form(driver, SELECTORS["enter your business details"])
def pick_radio_option_and_submit(driver: WebDriver, name: str) -> ModuleType: radio_selectors = get_selectors(SELECTORS["form"], ElementType.RADIO) choose_one_form_option(driver, radio_selectors, name) submit_form(driver, SELECTORS["form"]) return POs[name.lower()]
def submit(driver: WebDriver) -> Union[ModuleType, None]: return submit_form(driver, SELECTORS["subscribe for email updates"])
def submit(driver: WebDriver, form_name: str = None) -> Union[ModuleType, None]: return submit_form(driver, SELECTORS[form_name or "subscribe for email updates"])
def submit(driver: WebDriver) -> Union[ModuleType, None]: return submit_form(driver, SELECTORS["form"], wait_for_new_page_to_load=False)