We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 030f1f6 commit fbeeceaCopy full SHA for fbeecea
py/selenium/webdriver/firefox/service.py
@@ -58,9 +58,8 @@ def __init__(
58
)
59
60
# Set a port for CDP
61
- if "--connect-existing" not in self.service_args:
62
- self.service_args.append("--websocket-port")
63
- self.service_args.append(f"{utils.free_port()}")
+ self.service_args.append("--websocket-port")
+ self.service_args.append(f"{utils.free_port()}")
64
65
def command_line_args(self) -> List[str]:
66
return ["--port", f"{self.port}"] + self.service_args
0 commit comments