What's this error?
-
Opening browser...
OpenQA.Selenium.WebDriverException: unknown error: no chrome binary at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
en OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
en OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
en OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
en OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
en OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
en OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options)
en RuriLib.SBlockBrowserAction.OpenBrowser(BotData data)
Executed browser action Open on input
<--- Executing Block NAVIGATE --->
Open a browser first!
ERROR
So i placed the chromedriver where it should be, but it throws that, any fix?
-
you need chrome installed at "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" if you have it installed in another directory change it in selenium configs
-
Thank you.