How to get Firefox working with Selenium WebDriver on Mac OSX

前端 未结 8 1621
慢半拍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

    This kind of issue obtained because of selenium web driver fail to find the .exe files of Firefox. Please check whether C:\Program Files (x86)\Mozilla Firefox you have exe file in the location and don’t forget to set environment variable having the java jdk path. Source:- http://www.tech4crack.com/solved-cannot-find-firefox-binary-in-path/

提交回复
热议问题