I am working on Selenium Tests (in c#, dotnetcore2.1) for our portal webpage. The system that is running the tests (and my dev vm) have got a proxy configured (Internet Explorer -> Settings -> Internet Options -> Connections -> LAN Settings -> Proxy Server). This proxy is required for accessing the outside, but it MUST NOT be used for the connection from the selenium client in the c# project to the chrome webdriver api (that is opened when executing the chromewebdriver.exe).
I already tried to add localhost to the "Do not use proxy server for addresses beginning with:" setting like this:
my.domain;localhost
but it still cannot connect to the chromedriver. If i disable the proxy, the connection to the chromedriver is not a problem.
I do not want to configure a proxy, that chrome is supposed to use, but I want to configure "no proxy" for the connection to the chromewebdriver itself. Anybody any ideas? I get tons of hits on google but they all describe how to configure the proxy for chrome itself.
To clearify my request. My c# snippet looks like this:
using(var driver = new ChromeDriver(".") {
driver.Navigate().GoToUrl("...");
}
Selenium.WebDriver and Selenium.WebDriver.ChromeDriver are installed via NuGet.