您可以在Selenium网格节点上使用Edge的多个实例吗? [英] Can you use multiple instances of Edge on a Selenium Grid Node?

查看:107
本文介绍了您可以在Selenium网格节点上使用Edge的多个实例吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用下面的配置,我只看到一个Edge实例在我的节点上运行.

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

在使用具有类似设置的chrome时,我可以在同一节点上运行多个浏览器.

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

这是我正在使用的config.json:

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
  }
}

我正在运行单个VM上运行集线器和节点

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

  • Win10 Aniversery Edition
  • 相应的Edge WebDriver(14393)
  • 硒2.53.1 selenium-server-standalone.jar.
  • Java 8

推荐答案

否.

根据MS( https://twitter.com/instylevii/status/783480823445987329 ) ,此时 MS Edge WebDriver每个Selenium Grid节点仅支持一个会话.

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

这篇关于您可以在Selenium网格节点上使用Edge的多个实例吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆