【发布时间】:2013-08-14 22:21:29
【问题描述】:
我正在使用 selenium-2.34 和 phantomJS-1.9.1-windows
但是当我尝试使用时:
import org.openqa.selenium.phantomjs.PhantomJSDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriverService;
我可以看到它没有检测到
org.openqa.selenium.phantomjs
收到此错误
The import org.openqa.selenium.phantomjs cannot be resolved
我的印象是 GhostDriver 嵌入在 PhantomJS - https://github.com/detro/ghostdriver
有人知道我的设置有什么问题吗?
编辑:这可能是由于路径问题,我是否需要为 selenium 提供一些方法来获取这些 https://github.com/detro/ghostdriver/tree/master/binding/java/src/main/java/org/openqa/selenium/phantomjs
【问题讨论】:
标签: windows selenium phantomjs