selenium java.lang.IllegalStateException: must be set by the webdriver.gecko.driver
2016-12-06 16:40
465 查看
java.lang.IllegalStateException: The path to the driver executable must be set by
the webdriver.gecko.driver system property; for more information, seehttps://github.com/mozilla/geckodriver.
selenium 打开firefox时报错
原因是使用了最新的selenium webdriver版本Selenium
3.x,此版本不支持直接启动firefox,必须要先设置
下载最新版本的geckoDriver
https://github.com/mozilla/geckodriver/releases
如果github官网不能访问,请参考http://blog.csdn.net/fabbychips/article/details/53488802
There are two versions of GeckoDriver for Windows: 32-bit and 64-bit. Based on whether your Firefox is 32-bit or 64-bit, you need to download the corresponding GeckoDriver exe. In this section, you will first check whether
your Firefox is 32-bit or 64-bit
the webdriver.gecko.driver system property; for more information, seehttps://github.com/mozilla/geckodriver.
selenium 打开firefox时报错
原因是使用了最新的selenium webdriver版本Selenium
3.x,此版本不支持直接启动firefox,必须要先设置
SystemProperty
下载最新版本的geckoDriver
https://github.com/mozilla/geckodriver/releases
如果github官网不能访问,请参考http://blog.csdn.net/fabbychips/article/details/53488802
Check if Firefox is 32-bit or 64-bit
There are two versions of GeckoDriver for Windows: 32-bit and 64-bit. Based on whether your Firefox is 32-bit or 64-bit, you need to download the corresponding GeckoDriver exe. In this section, you will first check whetheryour Firefox is 32-bit or 64-bit
相关文章推荐
- The path to the driver executable must be set by the webdriver.gecko.driver system property
- The path to the driver executable must be set by the webdriver.gecko.driver system property
- The path to the driver executable must be set by the webdriver.gecko.driver system property;
- java.lang.IllegalStateException: Target host must not be null, or set in parameters.
- java.lang.IllegalStateException: Target host must not be null, or set in parameters. scheme=null, ho
- java.lang.IllegalStateException: This Activity already has an action bar supplied by the window deco
- java.lang.IllegalStateException: Web app root system property already set to different value .
- java.lang.IllegalStateException: Web app root system property already set to different value
- java.lang.IllegalStateException: Web app root system property already set to different value...
- java.lang.Throwable: Warning: A WebView methods must be called on the same thread.
- java.lang.IllegalStateException: The specified child already has a parent. You must call removeView(
- java.lang.IllegalStateException: Web app root system property already set to different value
- java.lang.IllegalStateException: Web app root system property already set to different value .
- java.lang.RuntimeException: Date pattern must be set for column update_time in the schema of component
- [Android] View.setTag(key,Object) (java.lang.IllegalArgumentException: The key must be an application-specific resource id.)
- Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit:
- java.lang.IllegalStateException: The specified child already has a parent. You must call removeView
- java.lang.IllegalStateException: The specified child already has a parent. You must call removeView(
- java.lang.IllegalStateException: Web app root system property already set to different value: 'webap
- java.lang.IllegalStateException The specified child already has a parent. You must call removeView()