Not able to launch more than one edge browser

By design Issue #13618786

Details

Author
shaaz P.
Created
Sep 7, 2017
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

While developing tests on selenium in edge browser, it is not able to launch new browser once we opened another edge

Os build number : 15063.540

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Does this happen only while running WebDriver tests or because of running WebDriver testing you can now only launch one instance?  Have you tried shift clicking the running instance in the taskbar?

    • This is happening when run test using Microsoft webdriver.
      if we open a website as follows in C# selenium

      1. EdgeOptions options = new EdgeOptions();
      2. options.PageLoadStrategy = EdgePageLoadStrategy.Eager;
      3. IWebDriver driver = new EdgeDriver("WebdriverPath", options TimeSpan.FromSeconds(20));
      4. driver.Navigate().GoToUrl(“https://www.facebook.com/”);

      If i run above blocks of code twice, it throws error “Unexpected error. Unknown error” second time on line number 3.

      stack trace :
      at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse) in c:\Projects\webdriver\dotnet\src\webdriver\Remote\RemoteWebDriver.cs:line 1441
      at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) in c:\Projects\webdriver\dotnet\src\webdriver\Remote\RemoteWebDriver.cs:line 1187
      at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities) in c:\Projects\webdriver\dotnet\src\webdriver\Remote\RemoteWebDriver.cs:line 1114
      at OpenQA.Selenium.Remote.RemoteWebDriver…ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) in c:\Projects\webdriver\dotnet\src\webdriver\Remote\RemoteWebDriver.cs:line 141
      at OpenQA.Selenium.Edge.EdgeDriver…ctor(EdgeDriverService service, EdgeOptions options, TimeSpan commandTimeout) in c:\Projects\webdriver\dotnet\src\webdriver\Edge\EdgeDriver.cs:line 105
      at OpenQA.Selenium.Edge.EdgeDriver…ctor(String edgeDriverDirectory, EdgeOptions options, TimeSpan commandTimeout) in c:\Projects\webdriver\dotnet\src\webdriver\Edge\EdgeDriver.cs:line 83

    • Hi Steven,
      Any updates on this would be a great help

    • Adding more to this issue:
      When we try to launch an edge browser in selenium it closes all other edge browser that we opened manually.

    • Edge only allows one instance to be running for Web Driver testing.  Perhaps with if/when Edge supports multiple profiles this capability will also be added.

      I will close this as “working as designed.”

      A workaround it to use Selenium Grid and have the testing run on multiple client machines.

      Steve

    • Microsoft Edge Team

      Changed Status to “By design”

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

    Sign in