无法使用 Selenium(3.11)、GeckoDriver(0.24.0)、Firefox(57 版本)运行 selenium javascript:获取 java.lang.NullPointerException2019 年 2 月 12 日下午 6:49:21 org.openqa.selenium.remote.DesiredCapabilities firefox 信息:new FirefoxOptions()首选使用DesiredCapabilities.firefox()1549977563169 mozrunner::runner INFO 运行命令:“C:\Program Files\Mozilla Firefox\firefox.exe”“-marionette”“-foreground”“-no-remote”“-profile”“C:\Users\VINNAKP\AppData \Local\Temp\rust_mozprofile.CC0uDeBQr5aF" 无法从 C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath 读取 VR 路径注册表 1549977563829 Marionette INFO 通过 --marionette 启用无法从 C:\ 读取 VR 路径注册表Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath 无法从 C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath 读取 VR 路径注册表 无法从 C:\Users\VINNAKP\ 读取 VR 路径注册表AppData\Local\openvr\openvrpaths.vrpath [子 16780,Chrome_ChildThread] 警告:管道错误:109:文件 z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc,第 346 行 [Child 16780, Chrome_ChildThread] WARUnable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath 1549977565363 Marionette INFO Listening on port 54976 1549977565426 Marionette WARN 此会话将忽略 TLS 证书错误1549977565494 Marionette DEBUG 为窗口 4294967297 注册 listener.js 2019 年 2 月 12 日下午 6:49:25 org.openqa.selenium.remote.ProtocolHandshake createSession 信息:检测到的方言:W3C**2019 年 6:49:25 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO:检测到的方言:W3C**2019 年 6:49:25 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO:检测到的方言:W3C**
1 回答
慕丝7291255
TA贡献1859条经验 获得超6个赞
将 Selenium 更新到(3.6),将 Gecko 驱动程序更新到(0.24.0),将 Firefox 更新到(65.0)......它工作正常。
添加回答
举报
0/150
提交
取消
