I am trying to config proxy settings for the WebDriver
so I have used the following code ....
FirefoxProfile profile = new FirefoxProfile();
pro
On Mac OS X, I was receiving a WebDriver error like "Could not find Firefox binary (os=macosx)" when attempting to run a script.
I discovered that my problem was that a renamed my Firefox app to "Firefox 22". The WebDriver stuff expected just "Firefox".
i met this problem before, it's very easy to fix it.
on Windows, modify the environment variables , add the firefox path
to the PATH
variable.
it's should be similar on Mac, just export PATH=/my/firefox/path/bin:$PATH
in your profile file.