diff --git a/py/selenium/webdriver/common/options.py b/py/selenium/webdriver/common/options.py index bf1a56af0d8a2..2f1579115dcce 100644 --- a/py/selenium/webdriver/common/options.py +++ b/py/selenium/webdriver/common/options.py @@ -437,7 +437,7 @@ def add_argument(self, argument) -> None: def ignore_local_proxy_environment_variables(self) -> None: """By calling this you will ignore HTTP_PROXY and HTTPS_PROXY from being picked up and used.""" - super()._ignore_local_proxy = True + super().ignore_local_proxy_environment_variables() def to_capabilities(self): return self._caps