rosolko / WebDriverManager.Net

Automatic Selenium Webdriver binaries management for .Net
MIT License
269 stars 83 forks source link

can not download new chrome driver from today as there have changed directory chrome version 122 #314

Closed mraakashjoshi closed 8 months ago

mraakashjoshi commented 8 months ago

Unable to obtain chrome using Selenium Manager; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_locationUnable to obtain chrome using Selenium Manager; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

garry-edmonds commented 8 months ago

@mraakashjoshi

I've just tried this without an issue. My setup is Windows Chrome - Version 122.0.6261.58 (Official Build) (64-bit) WebDriverManager - 2.17.2 Using .Net Framework 4.7.2 Driver is downloaded into the ..\bin\environment\Chrome\\x64 in my instance.

What configuration are you running and and can you share your Stacktrace error. It may help someone to resolve this with you.

rosolko commented 8 months ago

@mraakashjoshi Correct me if I'm wrong - you're using a Selenium built-in manager to download new chrome driver? If yes, this issue is not related to current library

mraakashjoshi commented 8 months ago

i am using this setting and getting error also tried today.

new DriverManager().SetUpDriver(new ChromeConfig(), VersionResolveStrategy.MatchingBrowser);

My setup is Windows Chrome - Version 121.0.6167.185 (Official Build) (32-bit) Using .Net Framework 4.6.2 WebDriverManager - 2.17.2

giving error as below.

Unable to obtain chrome using Selenium Manager; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_locationUnable to obtain chrome using Selenium Manager; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

it is working in debug mode...but when i compile and run try to run from other folder then getting this issue.

mraakashjoshi commented 8 months ago

It's my mistake. i found my issue.