ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

WebDriver backed selenium won't launch new chrome browser (38.0.2125.104) #937

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue Description:
We are using combination of chromedriver/webdriverbackedselenium/teamcity for 
our functional tests. Since the new release of chrome browser, our tests won't 
start. We tried updating chromedriver to 2.11, webdriver backed selenium to 
2.43.1 but no luck. When we reverted back to chrome browser v37, it works. 
Could you please help? 

Exception we received in teamcity:
OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver 
server for URL 
http://localhost:61387/session/63f6382beec9938da3dc1ef2c2104f74/cookie timed 
out after 60 seconds.
System.Net.WebException : The operation has timed out
   at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at FunctionalTests.Functional.SeleniumSetUpFixture.SetUp() in c:\BuildAgent\work\52ff37b3ac0c8f42\MyStory\FunctionalTests\Functional\SeleniumSetUpFixture.cs:line 36
--WebException
   at System.Net.HttpWebRequest.GetResponse()
   at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)

Following if the chrome_debug.log 
[1884:2368:1014/172810:ERROR:gpu_process_transport_factory.cc(418)] Failed to 
establish GPU channel.
[1884:2368:1014/172810:ERROR:child_process_launcher.cc(344)] Failed to launch 
child process
[1884:2368:1014/172810:ERROR:child_process_launcher.cc(344)] Failed to launch 
child process

Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):
Code to initialize chrome options:
var options = new ChromeOptions();
options.AddArgument("--no-experiments");
options.AddArgument("--disable-translate");
options.AddArgument("--disable-plugins");
options.AddArgument("--disable-extensions");
options.AddArgument("--no-default-browser-check");
options.AddArgument("--clear-token-service");
options.AddArgument("--disable-default-apps");
options.AddArgument("--enable-logging");
options.AddArgument("test-type");

var driver = new ChromeDriver(options);
driver.Manage().Timeouts()
.ImplicitlyWait(TimeSpan.FromSeconds(60))
.SetScriptTimeout(TimeSpan.FromSeconds(60));

Original issue reported on code.google.com by puniebal...@gmail.com on 14 Oct 2014 at 11:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Duplicate of #936. This can be closed.

Original comment by puniebal...@gmail.com on 15 Oct 2014 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 5 Mar 2015 at 6:51