Skip to content

Commit 8b984a0

Browse files
committed
[py] missing self for service args
1 parent 8bc731c commit 8b984a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/selenium/webdriver/firefox/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, executable_path: str = DEFAULT_EXECUTABLE_PATH,
5252
self, executable_path, port=port, log_file=log_file, env=env)
5353
self.service_args = service_args or []
5454
# Set a port for CDP
55-
if '--connect-existing' not in service_args:
55+
if '--connect-existing' not in self.service_args:
5656
self.service_args.append("--websocket-port")
5757
self.service_args.append("%d" % utils.free_port())
5858
# Set the webdriver port

0 commit comments

Comments
 (0)