Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k 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 (62.9k 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.

Browse Categories

...