gpt4 book ai didi

selenium - 您可以在 Selenium 网格节点上使用 Edge 的多个实例吗?

转载 作者:行者123 更新时间:2023-12-02 21:57:59 25 4
gpt4 key购买 nike

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

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

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

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

我正在运行的单个虚拟机上运行集线器和节点

  • Win10周年纪念版
  • 相应的 Edge WebDriver (14393)
  • Selenium 2.53.1 selenium-server-standalone.jar。
  • Java 8

最佳答案

没有。

根据 MS ( https://twitter.com/instylevii/status/783480823445987329 ),目前 MS Edge WebDriver 仅支持每个 Selenium Grid 节点一个 session

关于selenium - 您可以在 Selenium 网格节点上使用 Edge 的多个实例吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39794604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com