即使使用gecko驱动程序,Firefox浏览器导入也无法正常工作

时间:2017-06-26 12:07:41

标签: selenium-firefoxdriver

我使用Selenium 3.3.1和Gecko驱动程序启动Firefox。当我运行我的testng测试时,我得到以下错误。如果我升级到3.4.0 Firefox驱动程序不工作。进口未显示。

"java.lang.NoClassDefFoundError: com/google/common/base/Function" - Exception

有人可以提供使用selenium 3.4

启动Firefox的确切代码

0 个答案:

没有答案
相关问题