Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

"Unable to either launch or connect to Chrome" #3

Closed
jayzes opened this issue Aug 1, 2012 · 6 comments
Closed

"Unable to either launch or connect to Chrome" #3

jayzes opened this issue Aug 1, 2012 · 6 comments

Comments

@jayzes
Copy link

jayzes commented Aug 1, 2012

I'm guessing that this isn't directly related to chromedriver-helper, but I just started seeing this error consistently on a project using the helper and can't seem to track down the cause, so I'm curious if anyone else is seeing it.

Both on my dev machine and CI box (both Macs, one running Lion, one running Mountain Lion), I started seeing the following error today:

Unable to either launch or connect to Chrome. Please check that ChromeDriver is up-to-date. Using Chrome binary at: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome (Selenium::WebDriver::Error::UnknownError)

Tried updating by Selenium-Webdriver gems, Chromedriver, Chrome itself, switching to Canary, etc., all to no avail. Doesn't seem to be related to my code as older versions that had passed are now failing. The weird thing is that Chrome does fire up, but it never goes to the URL for the test suite - it just hangs there with a blank page.

Anyway, out of curiosity - is anyone else seeing this or am I totally nuts? My hunch is that it's something related to a Chrome auto-update that broke the integration, but I have no way of telling whether Chrome updated itself today or not.

@caseyprovost
Copy link

im seeing this issue as well, currently applies to Chrome Version 21.0.1180.57

@flavorjones
Copy link
Owner

Confirmed -- let me try to find an update.

@flavorjones
Copy link
Owner

OK - For what it's worth, I upgraded the version of chromedriver with the following commands:

rm -rf ~/.chromedriver-helper
bundle exec chromedriver # and wait for download

I'm now running chromedriver_linux64_21.0.1180.4 with chrome 21.0.1180.49 beta and everything appears to be healthy again.

@flavorjones
Copy link
Owner

I've released chromedriver-helper 0.0.4 which includes chromedriver-update to force-upgrade chromedriver. Let me know if that works for you.

@supairish
Copy link

Had this same issue, and your chromedriver-update command worked like a charm, thanks!

@flavorjones
Copy link
Owner

Sweet, thanks for confirming! And thanks for using chromedriver-helper!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants