I am trying to config proxy settings for the WebDriver so I have used the following code ....
WebDriver
FirefoxProfile profile = new FirefoxProfile(); pro
For Mac, if you installed FireFox via brew cask, just symbolic link it to /Applications.
cd /Applications ln -s /Users//Applications/Firefox.app Firefox.app
This worked for me.