我已经配置了一个docker selenium hub,其中包含一个带有5个浏览器实例的docker selenium node firefox。当我启动两个浏览器时,其中只有一个正在进行交互,向浏览器发出请求但第二个没有,给出超时。第一个完成后启动另一个......是否有任何我缺少的参数?
Config for the hub :
browserTimeout : 0
debug : false
help : false
jettyMaxThreads : -1
port : 4444
role : hub
timeout : 120
enablePassThrough : true
cleanUpCycle : 5000
host : 172.18.0.2
maxSession : 5
hubConfig : /opt/selenium/config.json
capabilityMatcher : org.openqa.grid.internal.utils.DefaultCapabilityMatcher
newSessionWaitTimeout : -1
throwOnCapabilityNotPresent : true
Config details :
hub launched with : -browserTimeout 0 -debug false -help false -
jettyMaxThreads -1 -port 4444 -role hub -timeout 120 -enablePassThrough true
-cleanUpCycle 5000 -host 172.18.0.2 -maxSession 5 -hubConfig
/opt/selenium/config.json -capabilityMatcher
org.openqa.grid.internal.utils.DefaultCapabilityMatcher -
newSessionWaitTimeout -1 -throwOnCapabilityNotPresent true
the final configuration comes from :
the default :
browserTimeout : 0
debug : false
help : false
port : 4444
role : hub
timeout : 1800
enablePassThrough : true
cleanUpCycle : 5000
capabilityMatcher : org.openqa.grid.internal.utils.DefaultCapabilityMatcher
newSessionWaitTimeout : -1
throwOnCapabilityNotPresent : true
updated with params :
browserTimeout : 0
debug : false
help : false
jettyMaxThreads : -1
port : 4444
role : hub
timeout : 120
enablePassThrough : true
cleanUpCycle : 5000
maxSession : 5
capabilityMatcher : org.openqa.grid.internal.utils.DefaultCapabilityMatcher
newSessionWaitTimeout : -1
throwOnCapabilityNotPresent : true