How to get Firefox working with Selenium WebDriver on Mac OSX

前端 未结 8 1618
慢半拍i
慢半拍i 2020-12-14 03:12

I am trying to config proxy settings for the WebDriver so I have used the following code ....

FirefoxProfile profile = new FirefoxProfile();
pro         


        
8条回答
  •  暖寄归人
    2020-12-14 03:45

    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.

提交回复
热议问题