Reputation: 69
When I try to connect to a debuggerAddress via chrome web driver i get below error
WebDriverException: Message: unknown error: cannot connect to chrome at localhost:xxxx from session not created: Chrome version must be >= 69.0.3497.0 (Driver info: chromedriver=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90),platform=Windows NT 6.1.7601 SP1 x86_64)
No issue with chromedriver-Chrome version, Since the same is working fine different create driver code.
Working Driver code:
Create Webdriver Chrome executable_path=C:/WebDrivers/chromedriver.exe
Issue Driver code:
Create Webdriver Remote command_executor=http://localhost:yyyy desired_capabilities=${chrome_cap}
Upvotes: 3
Views: 3181
Reputation: 193068
This error message...
WebDriverException: Message: unknown error: cannot connect to chrome at localhost:xxxx from session not created: Chrome version must be >= 69.0.3497.0 (Driver info: chromedriver=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90)
...implies that the Chrome version must be >= 69.0
Your main issue is the version compatibility between the binaries you are using as follows :
As per best practices:
As per your comment update if you don't have access to upgrade chrome and you need to work with Chrome v70 you have to download the matching ChromeDriver version as per the details within the discussion RemoteDisconnected(“Remote end closed connection without” http.client.RemoteDisconnected: Remote end closed connection without response
As per your comment update to use a specific version of Chrome binary by mentioning installed path you can following the discussion Cannot find Chrome binary with Selenium in Python for older versions of Google Chrome
Upvotes: 2