I was setting up a basic Selenium test setup and ran into a pretty immediate show stopper:
Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC
I hadn't yet installed Firefox. After I installed it, however, I still continued to get the error.
My googling lead me to this page, and while the advice is generally what needs to happen, I wanted to detail my exact fix, and make life a little simpler for everyone else.
As you can see, the solution is two fold:
- Create a file at ~/bin/firefox with the short script to run firefox. I got unclear errors w/ the source page's suggestion, and this resolves it.
- Create a ~/.profile to add ~/bin/ to your path.