0

这是我运行测试时得到的唯一输出。我是否需要在构建路径或链接资源中的某处添加 geckodriver.exe?

控制台输出:

Jun 16, 2016 4:17:38 PM io.github.bonigarcia.wdm.BrowserManager getLatest
INFO: Latest version of [wires, geckodriver] is 0.8.0
C:\Users\aconte/.m2/repository/webdriver/geckodriver\0.8.0/geckodriver-v0.8.0-win32.zip
Jun 16, 2016 4:17:38 PM io.github.bonigarcia.wdm.BrowserManager exportDriver
INFO: Exporting webdriver.gecko.driver as C:\Users\aconte\.m2\repository\webdriver\geckodriver\win32\0.8.0\geckodriver.exe
<- |50:{"applicationType":"gecko","marionetteProtocol":3}|
54:{"name":"getMarionetteID","to":"root","parameters":{}}

这是我设置驱动程序的代码。

FirefoxProfile ffprofile = new FirefoxProfile();
            ffprofile.setEnableNativeEvents(true);
            ffprofile.setPreference("xpinstall.signatures.required", false);
            driver = new MarionetteDriver(ffprofile);
4

0 回答 0