How to get Firefox working with Selenium WebDriver on Mac OSX

前端 未结 8 1633
慢半拍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 04:07

    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.

提交回复
热议问题