File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/python/tests/browsers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def test_ignore_zoom_setting():
102
102
driver .quit ()
103
103
104
104
@pytest .mark .skipif (sys .platform != "win32" , reason = "requires Windows" )
105
- def test_protected_mode_settings ():
105
+ def test_ignore_protected_mode_settings ():
106
106
options = webdriver .IeOptions ()
107
107
108
108
options .ignore_protected_mode_settings = True
@@ -113,10 +113,10 @@ def test_protected_mode_settings():
113
113
driver .quit ()
114
114
115
115
@pytest .mark .skipif (sys .platform != "win32" , reason = "requires Windows" )
116
- def test_protected_mode_settings ():
116
+ def test_silent_capability ():
117
117
options = webdriver .IeOptions ()
118
118
119
- options .set_capability ( ' silent' , True )
119
+ options .add_argument ( '- silent' , True )
120
120
121
121
driver = webdriver .Ie (options = options )
122
122
driver .get ('https://www.selenium.dev/' )
You can’t perform that action at this time.
0 commit comments