We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af4a58 commit 670fc6fCopy full SHA for 670fc6f
py/test/selenium/webdriver/common/alerts_tests.py
@@ -193,10 +193,7 @@ def test_should_throw_an_exception_if_an_alert_has_not_been_dealt_with_and_dismi
193
194
with pytest.raises(UnexpectedAlertPresentException):
195
driver.find_element(By.ID, "select").click()
196
- alert = _wait_for_alert(driver)
197
- alert.dismiss()
198
- with pytest.raises(NoAlertPresentException):
199
- alert.text
+ # Alert would be dismissed automatically
200
201
202
def test_prompt_should_use_default_value_if_no_keys_sent(driver, pages):
0 commit comments