SELENIUM cannot support the latest version of FIREFOX

Because FIREFOX often updates the version silently in the background, sometimes SELENIUM cannot open the browser for no reason.

Recently, I found that it is very difficult to download the old version of FIREFOX. After searching for a long time, I finally found the FTP address of M company:

ftp.mozilla.org/pub/firefox/releases/

I hope it can help children's shoes who are in the same predicament as me. It is recommended to download version 45, and do not install modules that update silently.

 

 

https://github.com/mozilla/geckodriver/releases

 

 System.setProperty("webdriver.gecko.driver", "d:\\eclipse\\geckodriver.exe");

 

    WebDriver driver = new FirefoxDriver();

......

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326445194&siteId=291194637