简体   繁体   中英

Can you use multiple instances of Edge on a Selenium Grid Node?

Using the config below, I am only seeing one instance of Edge running on my node.

When using chrome with a similar setup, I can run multiple browsers on the same node.

Here is the config.json I am using:

{
  "capabilities":
      [
        {
          "browserName": "MicrosoftEdge",
          "maxInstances": 4
        }
      ],
  "configuration":
  {
    "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
    "maxSession": 5,
    "port": 7777,
    "register": true,
    "registerCycle": 5000,
    "hubPort": 4444,
    "hubHost": 192.168.56.101
  }
}

I am running the hub and node on a single VM running

  • Win10 Aniversery Edition
  • the corresponding Edge WebDriver (14393)
  • Selenium 2.53.1 selenium-server-standalone.jar.
  • Java 8

No.

As per MS ( https://twitter.com/instylevii/status/783480823445987329 ), at this time the MS Edge WebDriver support only one session per Selenium Grid node .

As a workaround, you can exploit Windows virtual desktop basic feature.

See headless-selenium-for-win

I've used and validated it on a Windows 2012 server with 5 concurrent IE11 instances.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM