Skip to content

Commit

Permalink
[py]: Remove unused arg resolve_ip from RemoteConnection initiali…
Browse files Browse the repository at this point in the history
…ser (#10717)

Remove unused arg `resolve_ip` from `RemoteConnection` initialiser
  • Loading branch information
symonk authored Jun 9, 2022
1 parent de9675b commit 27ff586
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions py/selenium/webdriver/remote/remote_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,7 @@ def _get_connection_manager(self):

return urllib3.PoolManager(**pool_manager_init_args)

def __init__(self, remote_server_addr, keep_alive=False, resolve_ip=None, ignore_proxy=False):
if resolve_ip:
import warnings
warnings.warn(
"'resolve_ip' option removed; ip addresses are now always resolved by urllib3.",
DeprecationWarning)
def __init__(self, remote_server_addr, keep_alive=False, ignore_proxy=False):
self.keep_alive = keep_alive
self._url = remote_server_addr

Expand Down

0 comments on commit 27ff586

Please sign in to comment.