Edge Driver - Can't use multiple sessions simultaneously

External Issue #7186486

Details

Author
illy M.
Created
Apr 12, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
10
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

Hi
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
$session1Id
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
$O

Output:

04E5C2DE-A5F9-4B86-B78D-27B3101E609C
sessionId status value
--------- ------ -----
              33 @{message=Session not created}

Link to the same problem in the old issue tracker with selenium example:
https://connect.microsoft.com/IE/feedback/details/1856881/edge-driver-cant-use-multiple-sessions-simultaneously
It have a link to this page in it:
https://developer.microsoft.com/microsoft-edge/platform/issues/5345426/
But the page gives the error “Page not found”
Also I found this similar issue:
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/5980485/
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

Attachments

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.

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

    Sign in