0 votes
1 view
in DevOps and Agile by (19.8k points)

I use the capybara & selenium test my rails project. when I execute the test script, it's having errors like this

Selenium::WebDriver::Error::WebDriverError:

Could not find Firefox binary (os=macosx). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path=

I google how to use Google Chrome as the testing browser instead of Firefox

but it generates other errors like the one shown below:

Selenium::WebDriver::Error::WebDriverError:

unable to connect to chromedriver http://127.0.0.1:9515

1 Answer

0 votes
by (63.4k points)

I think the issue seems to be only with the ChromeDriver (possibly /usr/bin).

ldd /usr/bin/chromedriver

Also, check your dependencies. You may be missing some.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...