Forum Discussion

mortenb123's avatar
mortenb123
Copper Contributor
Feb 10, 2020
Solved

"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?

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

 

    • mortenb123's avatar
      mortenb123
      Copper Contributor

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

       

      • mortenb123's avatar
        mortenb123
        Copper 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]

         

  • mortenb123's avatar
    mortenb123
    Copper Contributor

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

    • HotCakeX's avatar
      HotCakeX
      MVP


      Himortenb123 

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

       

       

Resources