[py] missing self for service args
@@ -52,7 +52,7 @@ class Service(service.Service):
self, executable_path, port=port, log_file=log_file, env=env)
self.service_args = service_args or []
# Set a port for CDP
- if '--connect-existing' not in service_args:
+ if '--connect-existing' not in self.service_args:
self.service_args.append("--websocket-port")
self.service_args.append("%d" % utils.free_port())
# Set the webdriver port
