Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
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


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:


unable to connect to chromedriver

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