无法使用 Selenium(3.11)、GeckoDriver(0.24.0)、Firefox(57 版本) 运行 selenium java 脚本
Not able to run selenium java script using Selenium(3.11), GeckoDriver(0.24.0), Firefox(57 version)
无法使用 Selenium(3.11)、GeckoDriver(0.24.0)、Firefox(57 版本) 运行 selenium javascript:
Getting java.lang.NullPointerException
Feb 12, 2019 6:49:21 PM org.openqa.selenium.remote.DesiredCapabilities firefox INFO: Using new FirefoxOptions()
is preferred to DesiredCapabilities.firefox()
1549977563169 mozrunner::runner INFO Running command: "C:\Program Files\Mozilla Firefox\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\Users\VINNAKP\AppData\Local\Temp\rust_mozprofile.CC0uDeBQr5aF" Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath 1549977563829 Marionette INFO Enabled via --marionette Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath [Child 16780, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 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 certificate errors will be ignored for this session 1549977565494 Marionette DEBUG Register listener.js for window 4294967297 Feb 12, 2019 6:49:25 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C**
将 Selenium 更新到 (3.6),将 Gecko 驱动程序更新到 (0.24.0),将 Firefox 更新到 (65.0)。它工作正常。
无法使用 Selenium(3.11)、GeckoDriver(0.24.0)、Firefox(57 版本) 运行 selenium javascript:
Getting java.lang.NullPointerException
Feb 12, 2019 6:49:21 PM org.openqa.selenium.remote.DesiredCapabilities firefox INFO: Using
new FirefoxOptions()
is preferred toDesiredCapabilities.firefox()
1549977563169 mozrunner::runner INFO Running command: "C:\Program Files\Mozilla Firefox\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\Users\VINNAKP\AppData\Local\Temp\rust_mozprofile.CC0uDeBQr5aF" Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath 1549977563829 Marionette INFO Enabled via --marionette Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users\VINNAKP\AppData\Local\openvr\openvrpaths.vrpath [Child 16780, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 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 certificate errors will be ignored for this session 1549977565494 Marionette DEBUG Register listener.js for window 4294967297 Feb 12, 2019 6:49:25 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C**
将 Selenium 更新到 (3.6),将 Gecko 驱动程序更新到 (0.24.0),将 Firefox 更新到 (65.0)。它工作正常。