Skip to content

Commit cc98e83

Browse files
committed
[py] Enable passing testShouldBeAbleToOverrideTheWindowAlertMethod for PhantomJS
1 parent 2512868 commit cc98e83

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

py/test/selenium/webdriver/common/alerts_tests.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
class TestAlerts(object):
3030

3131
def testShouldBeAbleToOverrideTheWindowAlertMethod(self, driver, pages):
32-
if driver.capabilities['browserName'] == 'phantomjs':
33-
pytest.xfail("phantomjs driver does not support alerts")
3432
pages.load("alerts.html")
3533
driver.execute_script(
3634
"window.alert = function(msg) { document.getElementById('text').innerHTML = msg; }")

0 commit comments

Comments
 (0)