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 29d7cce commit 7e313b6Copy full SHA for 7e313b6
py/conftest.py
@@ -167,6 +167,8 @@ def options(self):
167
self._options.add_argument("-headless")
168
169
if self.bidi:
170
+ if not self._options:
171
+ self._options = getattr(webdriver, f"{self._driver_class}Options")()
172
self._options.web_socket_url = True
173
self._options.unhandled_prompt_behavior = "ignore"
174
0 commit comments