: OpenQA.Selenium.WebDriverException: No response from server for url http://localhost:62289/session/e0b6b5d1a3a2f68165dc7e56eaabb745/elements
Enter code here... ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.AddArgument("port=8080");
chromeDriver = new ChromeDriver(@"D:\SVN\CSP\Trunk");
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/YoavOifXzP0J.
For more options, visit https://groups.google.com/groups/opt_out.
Have you tried using what selenium uses as default, which is 4444. Try that and see what happens.
On Thu, Aug 2, 2012 at 8:01 AM, SeleniumIntern <houc...@gmail.com> wrote:
I was getting the following error when using the chrome driver in C#: OpenQA.Selenium.WebDriverException: No response from server for url http://localhost:62289/session/e0b6b5d1a3a2f68165dc7e56eaabb745/elements
After doing some online searches most say its too many connections to a proxy server? (not using a proxy) or a firewall block.
I emailed my network helpdesk seeing if they could open a port for me to try if that will work. But I will need chromedriver.exe to always use the same port if I do that. I tried the following code
Enter code here... ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.AddArgument("port=8080");
chromeDriver = new ChromeDriver(@"D:\SVN\CSP\Trunk");
but it didn't change the port, (also tried '--port = 8080')
If you have any ideas on how to fix the error I am getting or how to set the port to a static number I would appreciate the help. Thanks!
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
start the chrome driver like this: (in .Net )
string DRIVER_PATH = ConfigurationManager.AppSettings[“ChromeDriverPath”];
ChromeDriverService serviceCR = ChromeDriverService.CreateDefaultService(DRIVER_PATH);
serviceCR.Port = 9510;
IWebDriver WebDriver = new ChromeDriver(serviceCR);