Skip to content

Commit d3687d8

Browse files
committed
Just moving instead of deprecating
1 parent 4623f3f commit d3687d8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

py/selenium/webdriver/common/options.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
import typing
18-
import warnings
1918
from abc import ABCMeta
2019
from abc import abstractmethod
2120
from enum import Enum
2221

23-
from typing_extensions import deprecated
24-
2522
from selenium.common.exceptions import InvalidArgumentException
2623
from selenium.webdriver.common.proxy import Proxy
2724

@@ -437,16 +434,9 @@ def add_argument(self, argument) -> None:
437434
else:
438435
raise ValueError("argument can not be null")
439436

440-
@deprecated("Ignore local proxy in ArgOptions is deprecated, use it from BaseOptions")
441437
def ignore_local_proxy_environment_variables(self) -> None:
442438
"""By calling this you will ignore HTTP_PROXY and HTTPS_PROXY from
443439
being picked up and used."""
444-
warnings.warn(
445-
"using ignore_local_proxy_environment_variables in ArgOptions has been deprecated, "
446-
"instead, use it from BaseOptions",
447-
DeprecationWarning,
448-
stacklevel=2,
449-
)
450440
super()._ignore_local_proxy = True
451441

452442
def to_capabilities(self):

0 commit comments

Comments
 (0)