Open danilivanyuk opened 1 day ago
The issue here is that command_executor
is being set upon initializing webdriver.Remote
. It is not being configured when using ClientConfig
. Quick fix:
driver = webdriver.Remote(
command_executor="http://localhost:4444/wd/hub"
options=options,
client_config=remote_connection,
)
Haven't tested this, so let me know what are the results.
Hi, when creating Remote Driver and calling stealth in result I get error with _url property File "/home/lib64/python3.11/site-packages/stealthenium/cdp.py", line 14, in execute_cdp_cmd url =driver.command_executor._url + resource ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ChromeRemoteConnection' object has no attribute '_url'
if I change driver.command_executor._url in cdp.py to http://localhost:4444/wd/hub its working