Selenium 3.7 version cannot new WebDriver Firefox() solution

selenium version too low? Affect the execution of the project? Have you also encountered such a problem?

The premise is that the jdk1.8 version is not uninstalled, and the jre is installed by reinstalling the 1.8 version. Install successfully reconfigure environment variables

If you also upgrade from selenium low version 5 to 3.7 and encounter all kinds of strange and unexpected things, both IE and chrome can be instantiated, but firefox cannot. Check the configuration of various jdk environment variables, the content of the jar package, Both jdk and selenium configurations are OK. Please try the following two ways

1. If you are MyEclipse10, please uninstall or reinstall MyEclipse2017 version, this problem can be solved

2. If MyEclipse2017 is installed successfully and still fails, please check whether the JDK is configured correctly in MyEclipse?

 

Guess you like

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