Skip to content

Commit ac67254

Browse files
committed
Update to resolve ie python tests
1 parent 9b0665b commit ac67254

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/python/tests/browsers/test_internet_explorer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_ignore_zoom_setting():
102102
driver.quit()
103103

104104
@pytest.mark.skipif(sys.platform != "win32", reason="requires Windows")
105-
def test_protected_mode_settings():
105+
def test_ignore_protected_mode_settings():
106106
options = webdriver.IeOptions()
107107

108108
options.ignore_protected_mode_settings = True
@@ -113,10 +113,10 @@ def test_protected_mode_settings():
113113
driver.quit()
114114

115115
@pytest.mark.skipif(sys.platform != "win32", reason="requires Windows")
116-
def test_protected_mode_settings():
116+
def test_silent_capability():
117117
options = webdriver.IeOptions()
118118

119-
options.set_capability('silent', True)
119+
options.add_argument('-silent', True)
120120

121121
driver = webdriver.Ie(options=options)
122122
driver.get('https://www.selenium.dev/')

0 commit comments

Comments
 (0)