Home > Mobile >  session not created: This version of ChromeDriver only supports Chrome version 98
session not created: This version of ChromeDriver only supports Chrome version 98

Time:04-14

I have this error:

session not created: This version of ChromeDriver only supports Chrome version 98
Current browser version is 100.0.4896.75 

I have allready manually downloaded the correct chrome driver and inserted it into the project debug folder. But each time I debug it override the new chrome driver with version 100 and insert back the chrome driver with version 98.

How can i avoid this?

What i need to do, that the chrome driver in the folder stay on version 100 and get not overriden by starting debugging.

CodePudding user response:

This error message...

session not created: This version of ChromeDriver only supports Chrome version 98
Current browser version is 100.0.4896.75 

...implies that the ChromeDriver was unable to initiate/spawn a new Browsing Context i.e. session.

Your main issue is the incompatibility between the version of the binaries you are using as follows:

  • You are using chrome=100.0
  • But you are using chromedriver=98.0
  • Release Notes of chromedriver=98.0 clearly mentions the following :

Supports Chrome version 98

So there is a clear mismatch between chromedriver=98.0 and the chrome=100.0.4896.75


Solution

Ensure that:

  • Related