rshf / chromedriver

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

Chrome webdriver fails to start properly from TFS build agent. #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I made some selenium tests using the chrome webdriver. They all work fine on my 
machine and on the machine where i have the problem. I then added the tests to 
the companies TFS build agent for nightly tests. The exact same tests work fine 
for firefox and ie, only the chrome version doesn't work.

What steps will reproduce the problem?
1.Make a simple selenium test for chrome inside the vs 2012 unit test
2.add it to a vs 2012 project
3.add the project and the test to a TFS build agent 
4.run a build on the agent

What is the expected output? 
the browser should start up and navigate to the specified url and check an 
element

What do you see instead?
a grey screen on the browser which renders the browser useless (trying to 
navigate to any url manual results in no action)

Selenium version:2.26.0
OS:Windows Server 2008 R2
Browser:Chrome
Browser version:23.0.1271.64 m

I have had this problem since nov last year and to this date i have not been 
able to get it to work. I even tried launching the tests from a console app 
that is in a separate project and i still get the exact same problem. I have 
arrive to the conclusion that the TFS agent and the chrome driver are 
incompatible at such a low level that they were probably preprogramed to not 
work toghether

Original issue reported on code.google.com by Datcu.Bo...@gmail.com on 17 Jan 2013 at 11:03

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/chromedriver/issues/detail?id=27
and 
http://code.google.com/p/chromedriver/wiki/TroubleshootingAndSupport#Chrome_does
n't_start_or_crashes_immediately

They might be able to resolve your issue. Let us know if it doesn't help.

Original comment by kkania@chromium.org on 22 Jan 2013 at 4:34

GoogleCodeExporter commented 9 years ago
using the no sandbox tag worked in the end.

Original comment by Datcu.Bo...@gmail.com on 30 Jan 2013 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by kkania@chromium.org on 30 Jan 2013 at 4:25

GoogleCodeExporter commented 9 years ago

Original comment by kkania@chromium.org on 13 Mar 2013 at 11:45

GoogleCodeExporter commented 9 years ago

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