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.

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

30.7k questions

32.8k answers

500 comments

109k users

Browse Categories

...