運(yùn)行后報(bào)錯(cuò)Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
這個(gè)錯(cuò)誤需要 添加 selenium-server-standalone-2.46.0.jar,
下面這個(gè)有下載:
http://selenium-release.storage.googleapis.com/index.html
這個(gè)錯(cuò)誤需要 添加 selenium-server-standalone-2.46.0.jar,
下面這個(gè)有下載:
http://selenium-release.storage.googleapis.com/index.html
2018-02-25
運(yùn)行后報(bào)錯(cuò)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/,點(diǎn)擊”Add to Firefox”
直接用Firefox打開https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/,點(diǎn)擊”Add to Firefox”
2018-02-23
最新回答 / qq_暖色cheeks_1
是版本兼容的問題selenium-service-standalone-2.42.2和fireBox29就能進(jìn)入并執(zhí)行成功,得到錄制的作用
2018-01-17