def wait_for_and_dismiss_alert(driver, timeout=settings.LARGE_TIMEOUT):
    alert = wait_for_and_switch_to_alert(driver, timeout)
    alert_text = alert.text
    alert.dismiss()
    return alert_text
Sets the correct container for the content.
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/fixtures/page_actions.py/wait_for_and_dismiss_alert--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/group.py/ShadowGroup.set_container