SOLVED

"80.0.361.48" MSEdge/MSEdgeWebdriver -> no capabilties found

%3CLINGO-SUB%20id%3D%22lingo-sub-1163749%22%20slang%3D%22en-US%22%3ERe%3A%20%2280.0.361.48%22%20MSEdge%2FMSEdgeWebdriver%20-%26gt%3B%20no%20capabilties%20found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1163749%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20msedgedriver.log%20should%20output%20the%20version%20from%20the%20browser%2C%20So%20I%20can%20pick%20this%20up%20with%20my%20scanner%2C%20what%20is%20working%20and%20not.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1163824%22%20slang%3D%22en-US%22%3ERe%3A%20%2280.0.361.48%22%20MSEdge%2FMSEdgeWebdriver%20-%26gt%3B%20no%20capabilties%20found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1163824%22%20slang%3D%22en-US%22%3E%3CP%3E%3CBR%20%2F%3EHi%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F528208%22%20target%3D%22_blank%22%3E%40mortenb123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecan%20you%20please%20reformat%20your%20post%20and%20put%20the%20code%20parts%20in%20their%20correct%20format%2C%20it%20will%20help%20better%20understand%20the%20post%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22dsdsd.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F170044i3597EB9E25B359B1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22dsdsd.png%22%20alt%3D%22dsdsd.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1163712%22%20slang%3D%22en-US%22%3E%2280.0.361.48%22%20MSEdge%2FMSEdgeWebdriver%20-%26gt%3B%20no%20capabilties%20found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1163712%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI'm%20unable%20to%20get%20driver%20and%20browser%20with%20the%20same%20version%20to%20talk%2C%3C%2FP%3E%3CP%3EI%20believe%20the%20browser%20autoinstalled%20itself%2C%20because%20I%20use%20this%20which%20is%20still%20on%2079.x%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20input%20on%20how%20to%20sort%20this%20out%3F%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Echoco%20upgrade%20microsoft-edge%0AChocolatey%20v0.10.15%0AUpgrading%20the%20following%20packages%3A%0Amicrosoft-edge%0ABy%20upgrading%20you%20accept%20licenses%20for%20the%20packages.%0Amicrosoft-edge%20is%20not%20installed.%20Installing...%0AProgress%3A%20Downloading%20microsoft-edge%2079.0.309.71...%20100%25%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20what%20my%20version%20scanner%20finds%20is%20this%3A%20(And%20I've%20verified%20by%20starting%20the%20programs)%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%22edge%22%3A%20%7B%0A%22path%22%3A%20%22C%3A%5C%5C%5C%5CProgram%20Files%20(x86)%5C%5C%5C%5CMicrosoft%5C%5C%5C%5CEdge%5C%5C%5C%5CApplication%5C%5C%5C%5Cmsedge.exe%22%2C%0A%22ver%22%3A%20%2280.0.361.48%22%2C%0A%22webdriverpath%22%3A%20%22C%3A%5C%5C%5C%5CSharedArea%5C%5C%5C%5Cdrivers%5C%5Cmsedgedriver.exe%22%2C%0A%22webdriverver%22%3A%20%2280.0.361.48%22%0A%7D%2C%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EI%20get%20this%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%5B1581324997.702%5D%5BINFO%5D%3A%20Starting%20MSEdgeDriver%2080.0.361.48%20(e1a3ff36578e440880567e6adcbeab38ec2956fa)%20on%20port%2054037%0A%5B1581324997.702%5D%5BINFO%5D%3A%20Please%20protect%20ports%20used%20by%20MSEdgeDriver%20and%20related%20test%20frameworks%20to%20prevent%20access%20by%20malicious%20code.%0A%5B1581324998.183%5D%5BINFO%5D%3A%20%5B35a2c49994302c6d39f36801567be660%5D%20COMMAND%20InitSession%20%7B%0A%22capabilities%22%3A%20%7B%0A%22alwaysMatch%22%3A%20%7B%0A%22browserName%22%3A%20%22chrome%22%2C%0A%22goog%3AchromeOptions%22%3A%20%7B%0A%22args%22%3A%20%5B%20%22--headless%22%20%5D%2C%0A%22binary%22%3A%20%22C%3A%5C%5C%5C%5CProgram%20Files%20(x86)%5C%5C%5C%5CMicrosoft%5C%5C%5C%5CEdge%5C%5C%5C%5CApplication%5C%5C%5C%5Cmsedge.exe%22%2C%0A%22extensions%22%3A%20%5B%20%5D%0A%7D%2C%0A%22platformName%22%3A%20%22any%22%0A%7D%2C%0A%22firstMatch%22%3A%20%5B%20%7B%0A%0A%7D%20%5D%0A%7D%2C%0A%22desiredCapabilities%22%3A%20%7B%0A%22browserName%22%3A%20%22chrome%22%2C%0A%22goog%3AchromeOptions%22%3A%20%7B%0A%22args%22%3A%20%5B%20%22--headless%22%20%5D%2C%0A%22binary%22%3A%20%22C%3A%5C%5C%5C%5CProgram%20Files%20(x86)%5C%5C%5C%5CMicrosoft%5C%5C%5C%5CEdge%5C%5C%5C%5CApplication%5C%5C%5C%5Cmsedge.exe%22%2C%0A%22extensions%22%3A%20%5B%20%5D%0A%7D%2C%0A%22platform%22%3A%20%22ANY%22%2C%0A%22version%22%3A%20%22%22%0A%7D%0A%7D%0A%5B1581324998.193%5D%5BINFO%5D%3A%20%5B35a2c49994302c6d39f36801567be660%5D%20RESPONSE%20InitSession%20ERROR%20session%20not%20created%3A%20No%20matching%20capabilities%20found%0A%5B1581324998.193%5D%5BDEBUG%5D%3A%20Log%20type%20'driver'%20lost%201%20entries%20on%20destruction%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1187369%22%20slang%3D%22en-US%22%3ERe%3A%20%2280.0.361.48%22%20MSEdge%2FMSEdgeWebdriver%20-%26gt%3B%20no%20capabilties%20found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1187369%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F528208%22%20target%3D%22_blank%22%3E%40mortenb123%3C%2FA%3E%26nbsp%3Bnot%20sure%20if%20you%20got%20this%20working%20or%20not%20by%20now%2C%20sorry%20for%20the%20delay%20in%20responding...%20That%20error%20is%20because%20you%20are%20using%20goog%3Aoptions%20which%20are%20no%20longer%20supported%20in%20MSEdgeDriver.%20You%20should%20either%20update%20to%20the%20Selenium%20Alpha%204%20language%20bindings%2C%20or%20change%20to%20use%20Microsoft%20prefixed%20options%2C%20as%20described%20in%20this%20article%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fwebdriver-chromium%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fwebdriver-chromium%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20that%20helps.%3C%2FP%3E%0A%3CP%3E-John%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1193196%22%20slang%3D%22en-US%22%3ERe%3A%20%2280.0.361.48%22%20MSEdge%2FMSEdgeWebdriver%20-%26gt%3B%20no%20capabilties%20found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1193196%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply%2C%3C%2FP%3E%3CP%3E%26nbsp%3Bbut%20I'm%20using%20selenium4%20and%20the%20latest%20is%20unfortunately%20is%204.0.0a3%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Epip%20freeze%20%7C%20grep%20selenium%0Aselenium%3D%3D4.0.0a3%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Epip%20install%20selenium%3D%3D4.0.0a4%0AERROR%3A%20Could%20not%20find%20a%20version%20that%20satisfies%20the%20requirement%20selenium%3D%3D4.0.0a4%20(from%20versions%3A%20............%203.141.0%2C%204.0.0a1%2C%204.0.0a3)%0AERROR%3A%20No%20matching%20distribution%20found%20for%20selenium%3D%3D4.0.0a4%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20currently%20this%20means%20python%20cant%20be%20used%20for%20beta%20testing%20msEdge%20beyond%2079.*%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1193295%22%20slang%3D%22en-US%22%3ERe%3A%20%2280.0.361.48%22%20MSEdge%2FMSEdgeWebdriver%20-%26gt%3B%20no%20capabilties%20found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1193295%22%20slang%3D%22en-US%22%3E%3CP%3EExperimented%20some%20more%20just%20replaced%20Chromeoptions()%20with%20EdgeOptions()%2C%20and%20I%20got%20longer%2C%20but%20this%20will%20be%20working%20with%20release%204.0.0a4%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E20200225153222%7CDEBUG%7CC%3A%5Cdist%5Cwork%5Csc-proxy-autotest%5Ctools%5Cexe.py%3A31%7Ccmd%3A'powershell.exe%20-command%20%22%26amp%3B%7B%5BSystem.Diagnostics.FileVersionInfo%5D%3A%3AGetVersionInfo('C%3A%5Csharedarea%5Cdrivers%5Cmsedgedriver.exe').FileVersion%7D%22'%0A82.0.435.0%0A%0A20200225153222%7CDEBUG%7CC%3A%5Cdist%5Cwork%5Csc-proxy-autotest%5Ctools%5Cexe.py%3A31%7Ccmd%3A'powershell.exe%20-command%20%22%26amp%3B%7B%5BSystem.Diagnostics.FileVersionInfo%5D%3A%3AGetVersionInfo('C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Dev%5CApplication%5Cmsedge.exe').FileVersion%7D%22'%0A82.0.425.3%0A%0Aselenium.common.exceptions.SessionNotCreatedException%3A%20Message%3A%20session%20not%20created%3A%20This%20version%20of%20MSEdgeDriver%20only%20supports%20MSEdge%20version%2082%0AStacktrace%3A%0ABacktrace%3A%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A8557662%2B3634786%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A830BC99%2B1227929%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A8263CE1%2B539873%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A825F00F%2B520207%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A825A82F%2B501807%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A828E557%2B714071%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A828B9CF%2B702927%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A82661B3%2B549299%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A8266F7E%2B552830%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A848A575%2B2794869%5D%0A%20%20%20%20%20%20%20%20GetHandleVerifier%20%5B0x00007FF6A8624FAC%2B697628%5D%0A%20%20%20%20%20%20%20%20GetHandleVerifier%20%5B0x00007FF6A8624D20%2B696976%5D%0A%20%20%20%20%20%20%20%20GetHandleVerifier%20%5B0x00007FF6A8639D91%2B783105%5D%0A%20%20%20%20%20%20%20%20GetHandleVerifier%20%5B0x00007FF6A8625B04%2B700532%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A847E67D%2B2745981%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A848C89C%2B2803868%5D%0A%20%20%20%20%20%20%20%20Ordinal0%20%5B0x00007FF6A84AAAAD%2B2927277%5D%0A%20%20%20%20%20%20%20%20BaseThreadInitThunk%20%5B0x00007FFD04DB7BD4%2B20%5D%0A%20%20%20%20%20%20%20%20RtlUserThreadStart%20%5B0x00007FFD0676CED1%2B33%5D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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?

choco upgrade microsoft-edge
Chocolatey v0.10.15
Upgrading the following packages:
microsoft-edge
By upgrading you accept licenses for the packages.
microsoft-edge is not installed. Installing...
Progress: Downloading microsoft-edge 79.0.309.71... 100%

 

But what my version scanner finds is this: (And I've verified by starting the programs):

"edge": {
"path": "C:\\\\Program Files (x86)\\\\Microsoft\\\\Edge\\\\Application\\\\msedge.exe",
"ver": "80.0.361.48",
"webdriverpath": "C:\\\\SharedArea\\\\drivers\\msedgedriver.exe",
"webdriverver": "80.0.361.48"
},

I get this:

[1581324997.702][INFO]: Starting MSEdgeDriver 80.0.361.48 (e1a3ff36578e440880567e6adcbeab38ec2956fa) on port 54037
[1581324997.702][INFO]: Please protect ports used by MSEdgeDriver and related test frameworks to prevent access by malicious code.
[1581324998.183][INFO]: [35a2c49994302c6d39f36801567be660] COMMAND InitSession {
"capabilities": {
"alwaysMatch": {
"browserName": "chrome",
"goog:chromeOptions": {
"args": [ "--headless" ],
"binary": "C:\\\\Program Files (x86)\\\\Microsoft\\\\Edge\\\\Application\\\\msedge.exe",
"extensions": [ ]
},
"platformName": "any"
},
"firstMatch": [ {

} ]
},
"desiredCapabilities": {
"browserName": "chrome",
"goog:chromeOptions": {
"args": [ "--headless" ],
"binary": "C:\\\\Program Files (x86)\\\\Microsoft\\\\Edge\\\\Application\\\\msedge.exe",
"extensions": [ ]
},
"platform": "ANY",
"version": ""
}
}
[1581324998.193][INFO]: [35a2c49994302c6d39f36801567be660] RESPONSE InitSession ERROR session not created: No matching capabilities found
[1581324998.193][DEBUG]: Log type 'driver' lost 1 entries on destruction

 

5 Replies
Highlighted

The msedgedriver.log should output the version from the browser, So I can pick this up with my scanner, what is working and not.

Highlighted


Hi@mortenb123 

can you please reformat your post and put the code parts in their correct format, it will help better understand the post :)

 

dsdsd.png

 

Highlighted
Best Response confirmed by fawkes (Microsoft)
Solution

@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-chromium

 

Hope that helps.

-John

Highlighted

@johnjansen 

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.*

 

Highlighted

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]