selenium2.0用HtmlUnitDriver报错
已在project下导入selenium-server-standalone-2.53.0.jar报错:Exception in thread "main" java.lang.Error: Unresolved compilation problem:
HtmlUnitDriver cannot be resolved to a type
at com.example.tests.HtmlUnittest.main(HtmlUnittest.java:11)
是环境部署的问题吗,百度了好久,没找到关于这个的,有经验的同学可以提点一下吗,感谢
OK了,是因为selenium jar包中的libs下的jar包没导,
绕了一大圈,还去启动selenium server:funk:, 谢谢分享经验
页:
[1]