Selenium Edge driver not getting URL - java

前端 未结 2 1499
星月不相逢
星月不相逢 2021-01-14 23:29

I have recently updated my selenium libraries from 2.46.0 to 2.53.0 (the most recent) in order to run tests on a Windows 10 machine with the Edge browser.

I have add

2条回答
  •  借酒劲吻你
    2021-01-15 00:28

    It looks like it is failing to instantiate a new version of the driver. From the stack it also seems to think the operating system is Windows 8 but that might be a bug in Selenium per this line:

    'DESKTOP-7LLLD31', ip: '172.16.4.159', os.name: 'Windows 8', os.arch: 'amd64', os.version: '6.2', java.version: '1.7.0_51'
    

    One thing to note is you should always use a matching build of Windows/Microsoft Edge/Microsoft WebDriver. So per your screenshot you are on version 10586 of Windows/Microsoft Edge and should be using build 10586 of the driver which is located here: Microsoft WebDriver Fall 2015 Update

    If you are in fact on Windows 10 and running it and seeing this issue then the next area to look at might be capabilities. Try creating an instance without passing in any capabilities and see if that works. If a capability you pass in is required and ends up being incorrect it will cause the creation of the instance of WebDriver to fail.

提交回复
热议问题