Cucumber and Vatir suddenly stopped working

I use Cucumber all day, and although I did not change any files, it just stopped working.

This gives me an error that reads:

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)

Any idea what is going on?

+7
source share
7 answers

Try updating brew

brew update

brew upgrade

and you must be good

0
source

Here is a simple step by step that should make everything work again on OS X:

  • Download the latest pre-created chrome server server for OS X here: http://code.google.com/p/chromedriver/downloads/list
  • Move the chromedriver executable to your PATH. If you saved (and unpacked) the chromedriver into the “Download” folder in step 1, try this (picking your username for <your_username> :

     sudo cp /Users/<your_username>/Downloads/chromedriver /usr/bin 
  • Profit!

/usr/bin should definitely work like your PATH, but you can double-check all available PATHs by typing $PATH in Terminal.app and pressing enter.

+10
source

Today, Selenium stopped working for me on Mac Os. I use python and I get:

"Cannot start or connect to Chrome. Verify that ChromeDriver is up to date. Using the Chrome binary in: / Applications / Google Chrome.app/Contents/MacOS/Google Chrome."

Solution: update the driver file.

+4
source

I assume Chrome instantly updated in the background. Make sure you have the latest selenium-webdriver and chromedriver stones .

+3
source

Željko Filipin is right, I fixed this problem by uploading a new binary. Apparently there was a quiet update for chrome.

Replace the binary:

http://code.google.com/p/chromedriver/downloads/list

+3
source

For everyone who installed using homebrew: it seems that there is no latest version.

Download the zip file from http://code.google.com/p/chromedriver/downloads/list , unzip and do sudo mv chromedriver /usr/local/Cellar/chromedriver/20.0.1133.0/bin to replace the current with the latest version ( the version on the way will not reflect the actual version of the chrome plaster this way, but hey, it works again until the homegrown updates its recipe for the chrome rib).

+3
source

Homebrew now has the latest chrome recorder, so if you use homebrew, all you have to do is

 $ brew unlink chromedriver $ brew install chromedriver 
+2
source

All Articles