Skip to content

Commit 07c2364

Browse files
committed
add note for enable_webextensions = False
1 parent 84adc0a commit 07c2364

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

py/selenium/webdriver/chromium/options.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,11 @@ def enable_webextensions(self, value: bool) -> None:
153153
- When enabled, this automatically adds the required Chromium flags:
154154
- --enable-unsafe-extension-debugging
155155
- --remote-debugging-pipe
156+
- When disabled, this removes BOTH flags listed above, even if they were manually added via add_argument()
157+
before enabling webextensions.
156158
- Enabling --remote-debugging-pipe makes the connection b/w chromedriver
157-
and the browser use a pipe instead of a port, disabling many CDP functionalities
158-
like devtools
159+
and the browser use a pipe instead of a port, disabling many CDP functionalities
160+
like devtools
159161
"""
160162
self._enable_webextensions = value
161163
if value:

0 commit comments

Comments
 (0)