I'm using Selenium and Opera GX is the latest version. When I try to open Opera GX browser with Selenium, I get an exception.
System.InvalidOperationException: 'session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 113.0.5672.127 with binary path C:\Users\Pc\AppData\Local\Programs\Opera GX\opera.exe (SessionNotCreated)'
The code I tried:
var options = new ChromeOptions();
options.AddArgument("remote-debugging-port=9222");
options.BinaryLocation = "C:\\Users\\Pc\\AppData\\Local\\Programs\\Opera GX\\opera.exe";
IWebDriver driver = new ChromeDriver(options);
driver.Navigate().GoToUrl("https://www.google.com");