There was an error while loading. Please reload this page.
1 parent 2512868 commit cc98e83Copy full SHA for cc98e83
1 file changed
py/test/selenium/webdriver/common/alerts_tests.py
@@ -29,8 +29,6 @@
29
class TestAlerts(object):
30
31
def testShouldBeAbleToOverrideTheWindowAlertMethod(self, driver, pages):
32
- if driver.capabilities['browserName'] == 'phantomjs':
33
- pytest.xfail("phantomjs driver does not support alerts")
34
pages.load("alerts.html")
35
driver.execute_script(
36
"window.alert = function(msg) { document.getElementById('text').innerHTML = msg; }")
0 commit comments