I'm not entirely sure of what's going on. I'm setting my debugger port in my ChromeOptions, however, Selenium wants to connect to whatever port it feels like. What am I doing wrong?
var driverInstructions = new DriverInstructions(); driverInstructions.Driver = Driver.Chrome; driverInstructions.DriverLocation = @"M:\driver\127\chromedriver-win64 (5)\chromedriver-win64"; ChromeOptions options = new ChromeOptions(); options.DebuggerAddress = "localhost:9992"; sl.StartDriver(driverInstructions, false, options, false);