Edge Driver - Can't use multiple sessions simultaneously

External Issue #7186486


illy M.
Apr 12, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 7 people

Sign in to watch or report this issue.

Steps to reproduce

RemoteWebDriver will not open more than one session simultaneously
Powershell example:

# Start the driver
Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Web Driver\MicrosoftWebDriver.exe'
# Start the first session
$Obj = [PsCustomObject]@{desiredCapabilities = [PsCustomObject]@{}; requiredCapabilities = [PsCustomObject]@{}} |  ConvertTo-Json
$O = Invoke-RestMethod -Uri http://localhost:17556/session -Method Post -Body $Obj
$session1Id = $O.sessionId
Start-Sleep 3
$Obj = @{url = 'https://google.com'} | ConvertTo-Json
$O = Invoke-RestMethod -Uri http://localhost:17556/session/$session1Id/url -Method Post -Body $Obj
Start-Sleep 3
# Try to start the second session
$Obj = [PsCustomObject]@{desiredCapabilities = [PsCustomObject]@{}; requiredCapabilities = [PsCustomObject]@{}} |  ConvertTo-Json
$O = Invoke-RestMethod -Uri http://localhost:17556/session -Method Post -Body $Obj


sessionId status value
--------- ------ -----
              33 @{message=Session not created}

Link to the same problem in the old issue tracker with selenium example:
It have a link to this page in it:
But the page gives the error “Page not found”
Also I found this similar issue:
But it was marked as “Duplicate” despite I can not find what issue it is duplicate of? If you mark something as “Duplicate” you need to post a link to the original issue!
Thank you


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Leo L.”

      Changed Assigned To to “Mara P.”

      Changed Status to “External”

    • This has been duped to a backlogged feature request for WebDriver to support multiple sessions. Currently Edge does not support multiple sessions, and therefore WebDriver cannot support multiple sessions of Edge either. Once Edge adds support for multiple sessions we have a backlogged item to go and add support via WebDriver as well. Until then, WebDriver cannot support this feature as the browser does not support it.

    • This is a major performance issue and cause Edge to be a second class citizen in our continuous integration environment. A slow feedback loop means that this platform is not watched closely, bugs gather, and Edge gets a reputation as being flaky.

      Can you link to the Edge backlog issue so we can add our support to getting this feature moving?

    You need to sign in to your Microsoft account to add a comment.

    Sign in