[py] missing parentheses for method call
@@ -114,7 +114,7 @@ def test_get_experimental_options(options):
def test_set_headless(options):
options.headless = True
assert '--headless' in options._arguments
- if platform.system().lower == 'windows':
+ if platform.system().lower() == 'windows':
assert '--disable-gpu' in options._arguments
@@ -122,7 +122,7 @@ def test_unset_headless(options):
options._arguments = ['--headless', '--disable-gpu']
options.headless = False
assert '--headless' not in options._arguments
- if platform.system().lower == 'windows':
+ if platform.system().lower() == 'windows':
assert '--disable-gpu' not in options._arguments
