File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
py/test/unit/selenium/webdriver/chrome Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,15 @@ def test_get_experimental_options(options):
114
114
def test_set_headless (options ):
115
115
options .headless = True
116
116
assert '--headless' in options ._arguments
117
- if platform .system ().lower == 'windows' :
117
+ if platform .system ().lower () == 'windows' :
118
118
assert '--disable-gpu' in options ._arguments
119
119
120
120
121
121
def test_unset_headless (options ):
122
122
options ._arguments = ['--headless' , '--disable-gpu' ]
123
123
options .headless = False
124
124
assert '--headless' not in options ._arguments
125
- if platform .system ().lower == 'windows' :
125
+ if platform .system ().lower () == 'windows' :
126
126
assert '--disable-gpu' not in options ._arguments
127
127
128
128
You can’t perform that action at this time.
0 commit comments