Hi
I am getting error - InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 123 Current browser version is 127.0.6533.89 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
static async Task SingleVideo0() { { using (IWebDriver driver = new ChromeDriver()) { driver.Navigate().GoToUrl("google.com"); WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); var playButtons = wait.Until(_driver => _driver.FindElements(By.ClassName("video-play-button"))); foreach (var playButton in playButtons) { playButton.Click(); System.Threading.Thread.Sleep(2000); } } } }
Thanks