diff --git a/py/selenium/webdriver/chromium/options.py b/py/selenium/webdriver/chromium/options.py index e70eb0300071d..c7b35d612ee7e 100644 --- a/py/selenium/webdriver/chromium/options.py +++ b/py/selenium/webdriver/chromium/options.py @@ -153,9 +153,11 @@ def enable_webextensions(self, value: bool) -> None: - When enabled, this automatically adds the required Chromium flags: - --enable-unsafe-extension-debugging - --remote-debugging-pipe + - When disabled, this removes BOTH flags listed above, even if they were manually added via add_argument() + before enabling webextensions. - Enabling --remote-debugging-pipe makes the connection b/w chromedriver - and the browser use a pipe instead of a port, disabling many CDP functionalities - like devtools + and the browser use a pipe instead of a port, disabling many CDP functionalities + like devtools """ self._enable_webextensions = value if value: