Holla,
so I've been trying to create a web bot with selenium in c# and I'm trying to write a basic Hello World.
Problem is that the thing won't even start up , I've tried everything.
trace :
Starting ChromeDriver 97.0.4692.36 (747e0a0f19c13ca6ee136200f5b097448ae4892f-refs/branch-heads/4692@{#607}) on port 61335
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
DevTools listening on ws://127.0.0.1:61338/devtools/browser/1e6f93d0-b818-4805-b7e3-2c2b9c5ebf71
Unhandled exception. System.InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 97
Current browser version is 96.0.4664.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeOptions options)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor()
I'm using JetBrains Rider and Installed Selenium through the NuGet Package Manager , this also downloaded the ChromeWebDriver.exe in the assembly path, just to be sure i deleted it and downloaded the chromewebdriver.exe from here.
I've searched everywhere but the only examples that i find are python ones.