运行后报错Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
这个错误需要 添加 selenium-server-standalone-2.46.0.jar,
下面这个有下载:
http://selenium-release.storage.googleapis.com/index.html
这个错误需要 添加 selenium-server-standalone-2.46.0.jar,
下面这个有下载:
http://selenium-release.storage.googleapis.com/index.html
2018-02-25
运行后报错Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
at com.selenium.testDriver.main(testDriver.java:10)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at com.selenium.testDriver.main(testDriver.java:10)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
2018-02-25
安装IDE
直接用Firefox打开https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/,点击”Add to Firefox”
直接用Firefox打开https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/,点击”Add to Firefox”
2018-02-23
最新回答 / qq_暖色cheeks_1
是版本兼容的问题selenium-service-standalone-2.42.2和fireBox29就能进入并执行成功,得到录制的作用
2018-01-17