admin管理员组

文章数量:1347181

I know there are so many threads regarding this but my issue is a bit different.

  • My Browswer version is 134.0.....
  • My ChromeDriver Version is 134.0...
  • and Chrome Version 135 is not available yet for downloading.

When I run my tests I get error message

System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 135
Current browser version is 134.0.6998.178 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)

I downgraded ChromeDriver to 132 but still getting the same error like this version support only 135?

I use Selenium C#. I use WebDriver Manager (I don't want to hardcode path to chromedriver).

  • I cleared cache

  • deleted all chromedriver.exe files

  • Closed chromedriver.exe

  • Deleted bin folder in the project

  • Rebuild the project

  • Restarted PC several times

But nothing is working

I know there are so many threads regarding this but my issue is a bit different.

  • My Browswer version is 134.0.....
  • My ChromeDriver Version is 134.0...
  • and Chrome Version 135 is not available yet for downloading.

When I run my tests I get error message

System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 135
Current browser version is 134.0.6998.178 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)

I downgraded ChromeDriver to 132 but still getting the same error like this version support only 135?

I use Selenium C#. I use WebDriver Manager (I don't want to hardcode path to chromedriver).

  • I cleared cache

  • deleted all chromedriver.exe files

  • Closed chromedriver.exe

  • Deleted bin folder in the project

  • Rebuild the project

  • Restarted PC several times

But nothing is working

Share Improve this question edited 2 days ago JeffC 25.9k5 gold badges34 silver badges55 bronze badges asked 2 days ago KahnKahn 4513 gold badges6 silver badges19 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

As of Selenium 4.6, SeleniumManager was added and it automatically takes care of downloading and configuring the appropriate driver for you. So, you no longer need to use a DriverManager or specify the path, etc.

See the Configuration section of the page linked above for details on how to specify a particular version of a driver.

本文标签: