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


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 (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 !