Firefox is showing Cannot find firefox binary in PATH. error in MAC OS
According to https://github.com/SeleniumHQ/selenium/wiki/FirefoxDriver there is a property you have to set to set the binary path:
webdriver.firefox.bin
so i assume you have to do following:
System.setProperty("webdriver.firefox.bin","/Applications/Firefox.app/Contents/MacOS/firefox-bin");
WebDriver driver = new FirefoxDriver();
I hope this helps :)
Firefox WebDriver: Failed to connect to binary
This is likely to be a version mismatch between Selenium and Firefox.
According to a comment on one of their GitHub issues, Selenium 2.53.1 is known to work well with Firefox 47.0.1.
https://github.com/SeleniumHQ/selenium/issues/2527
To keep using Firefox 55, you need to use a higher version of Selenium (if it's already supported).
Related Topics
Using Gzip to Compress Files to Transfer with Aws Command
How to Ask Bash for the Current Options
How to Offload the 1Hz Tick in Dyntick Mode
How Come _Exit(0) (Exiting by Syscall) Prevents Me from Receiving Any Stdout Content
Old Logs Are Not Imported into Es by Logstash
Apache Proxypass Not Loading Resources
Libcurl Ssl Error After Fork()
How to Set the Socket Option So_Reuseport in Rust
Limit Output of All Linux Commands
X86_64 Assembly Execve *Char[] Syscall
Imagemagick: Generate Raw Image Data for PDF Flate Embedding
Sed Find and Replace Between Two Tags with Multi Line