Karthik K
Karthik K

Reputation: 69

Cannot connect to chrome at localhost:xxxx from session not created: Chrome version must be >= 69.0.3497.0 with Robot Framework using Python

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}

System Details

Upvotes: 3

Views: 3181

Answers (1)

undetected Selenium
undetected Selenium

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 :

  • You are using chromedriver=2.44 which ideally supports Chrome versions between version 69.x to 71.x

Solution

As per best practices:


Update A

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


Update B

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

Related Questions