I want to run Selenium tests behind Proxy.
Hello Dipen,
You may add the following snippet in your code to run Selenium tests behind Proxy:
HttpCommandExecutor commandExecutor = new HttpCommandExecutor(new Uri("https://username:accesskey@hub.lambdatest.com/"), TimeSpan.FromSeconds(60));
WebProxy myproxy = new WebProxy("proxy_host:proxy_port", false);
IWebDriver driver;