Skip to content

Commit 68ceca7

Browse files
fix: prevent warning log when initialize a webdriver using version 4.5.0 (selenium v4.26+) (#1098)
Remove the parameter 'remote_ server _ addr' for initializing AppiumConnection at appium/webdriver/webdriver.py file line 220
1 parent f53deb3 commit 68ceca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appium/webdriver/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def __init__( # noqa: PLR0913
217217
remote_server_addr=command_executor, keep_alive=keep_alive, ignore_certificates=not strict_ssl
218218
)
219219
client_config.remote_server_addr = command_executor
220-
command_executor = AppiumConnection(remote_server_addr=command_executor, client_config=client_config)
220+
command_executor = AppiumConnection(client_config=client_config)
221221
elif isinstance(command_executor, AppiumConnection) and strict_ssl is False:
222222
logger.warning(
223223
"Please set 'ignore_certificates' in the given 'appium.webdriver.appium_connection.AppiumConnection' or "

0 commit comments

Comments
 (0)