How to get Firefox working with Selenium WebDriver on Mac OSX

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

    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".

提交回复
热议问题