Forum Discussion
mortenb123
Feb 10, 2020Copper Contributor
"80.0.361.48" MSEdge/MSEdgeWebdriver -> no capabilties found
Hi I'm unable to get driver and browser with the same version to talk, I believe the browser autoinstalled itself, because I use this which is still on 79.x Any input on how to sort this out? ...
- Feb 21, 2020
mortenb123 not sure if you got this working or not by now, sorry for the delay in responding... That error is because you are using goog:options which are no longer supported in MSEdgeDriver. You should either update to the Selenium Alpha 4 language bindings, or change to use Microsoft prefixed options, as described in this article:
https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromiumHope that helps.
-John
mortenb123
Feb 25, 2020Copper Contributor
Thanks for your reply,
but I'm using selenium4 and the latest is unfortunately is 4.0.0a3
pip freeze | grep selenium
selenium==4.0.0a3
pip install selenium==4.0.0a4
ERROR: Could not find a version that satisfies the requirement selenium==4.0.0a4 (from versions: ............ 3.141.0, 4.0.0a1, 4.0.0a3)
ERROR: No matching distribution found for selenium==4.0.0a4
So currently this means python cant be used for beta testing msEdge beyond 79.*
mortenb123
Feb 25, 2020Copper Contributor
Experimented some more just replaced Chromeoptions() with EdgeOptions(), and I got longer, but this will be working with release 4.0.0a4
20200225153222|DEBUG|C:\dist\work\sc-proxy-autotest\tools\exe.py:31|cmd:'powershell.exe -command "&{[System.Diagnostics.FileVersionInfo]::GetVersionInfo('C:\sharedarea\drivers\msedgedriver.exe').FileVersion}"'
82.0.435.0
20200225153222|DEBUG|C:\dist\work\sc-proxy-autotest\tools\exe.py:31|cmd:'powershell.exe -command "&{[System.Diagnostics.FileVersionInfo]::GetVersionInfo('C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe').FileVersion}"'
82.0.425.3
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of MSEdgeDriver only supports MSEdge version 82
Stacktrace:
Backtrace:
Ordinal0 [0x00007FF6A8557662+3634786]
Ordinal0 [0x00007FF6A830BC99+1227929]
Ordinal0 [0x00007FF6A8263CE1+539873]
Ordinal0 [0x00007FF6A825F00F+520207]
Ordinal0 [0x00007FF6A825A82F+501807]
Ordinal0 [0x00007FF6A828E557+714071]
Ordinal0 [0x00007FF6A828B9CF+702927]
Ordinal0 [0x00007FF6A82661B3+549299]
Ordinal0 [0x00007FF6A8266F7E+552830]
Ordinal0 [0x00007FF6A848A575+2794869]
GetHandleVerifier [0x00007FF6A8624FAC+697628]
GetHandleVerifier [0x00007FF6A8624D20+696976]
GetHandleVerifier [0x00007FF6A8639D91+783105]
GetHandleVerifier [0x00007FF6A8625B04+700532]
Ordinal0 [0x00007FF6A847E67D+2745981]
Ordinal0 [0x00007FF6A848C89C+2803868]
Ordinal0 [0x00007FF6A84AAAAD+2927277]
BaseThreadInitThunk [0x00007FFD04DB7BD4+20]
RtlUserThreadStart [0x00007FFD0676CED1+33]