Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98711

C# Selenium WebDriver not respecting debugger port

$
0
0

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);

Code Result


Viewing all articles
Browse latest Browse all 98711

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>