我想知道是否有一种方法可以使用 json 配置文件将单个 Selenium Grid 2 节点注册到多个集线器。
我在想这样的事情:
{
"capabilities":
[
{
"browserName":"firefox",
"maxInstances":5,
"platform":"LINUX"
},
{
"browserName":"chrome",
"maxInstances":5,
"platform":"LINUX"
}
],
"configuration":
{
"cleanUpCycle":2000,
"timeout":30000,
"maxSession":5,
"url_hub_1":"http://10.254.254.40:4444/wd/hub",
"url_hub_2":"http://10.254.254.40:4444/wd/hub",
"url_hub_3":"http://10.254.254.40:4444/wd/hub",
"url_hub_4":"http://10.254.254.40:4444/wd/hub",
}
}
对此的任何帮助将不胜感激。问候!