小编Lol*_*aru的帖子

无法从中读取VR Path Registry

  • 版本:geckodriver-v0.20.0-win64
  • 平台:Windows 10 Home Single
  • 浏览器:Firefox:59.0.2(64位)
  • 硒:硒-java-3.11.0
  • intelliJ Idea:2018.1社区版

您好,我开始在intelliJ IDEA中使用带有Java的WebDriver.我使用Maven导入了Selenium,并使用Selenium网页中提供的代码添加了依赖项.我下载了geckodriver并更新了Windows路径.我开始编码,但我得到的输出在我看来是一个错误.有人可以帮我理解发生了什么吗?

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class firstTry {
   public static void main (String [] args){
       WebDriver driver = new FirefoxDriver();
       driver.quit();
   }
}
Run Code Online (Sandbox Code Playgroud)

Firefox打开和关闭没有问题,但在控制台中我有一个输出似乎是一个错误给我.如下:

1522649487586   geckodriver INFO    geckodriver 0.20.0
1522649487598   geckodriver INFO    Listening on 127.0.0.1:31435
1522649488194   mozrunner::runner   INFO    Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" "C:\\Users\\Lolaika\\AppData\\Local\\Temp\\rust_mozprofile.0neo1vgzqEe7"
Unable to read VR Path Registry from C:\Users\Lolaika\AppData\Local\openvr\openvrpaths.vrpath
1522649490188   Marionette  INFO    Enabled via --marionette
Unable to read VR Path Registry from C:\Users\Lolaika\AppData\Local\openvr\openvrpaths.vrpath
Unable …
Run Code Online (Sandbox Code Playgroud)

java selenium intellij-idea selenium-webdriver geckodriver

7
推荐指数
1
解决办法
3015
查看次数