我正在尝试使用docker-compose设置Selenium Hub和chrome&firefox节点。当我运行docker-compose文件时,我可以看到网格正在运行。但是,节点无法与集线器创建会话。
我曾尝试更改硒毂的版本和其他功能,但没有任何效果。
当我使用“ mvn clean verify”执行测试时。以下是我收到的例外情况:
org.openqa.selenium.SessionNotCreatedException:
Unable to create session from {
"desiredCapabilities": {
"server:CONFIG_UUID": "a2fa791a-66a4-4ade-b9d0-b1cec1eaef89"
},
"capabilities": {
"firstMatch": [
{
"server:CONFIG_UUID": "a2fa791a-66a4-4ade-b9d0-b1cec1eaef89"
}
]
}
}
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: '1ee741e98d58', ip: '172.21.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.125-linuxkit', java.version: '1.8.0_212'
Driver info: driver.version: unknown
Command duration or timeout: 283 milliseconds
at com.netsol.tests.features.frontend.TEST_GoogleSearch.searchSomethingInGoogle(TEST_GoogleSearch.java:25)
Caused by: org.openqa.selenium.SessionNotCreatedException:
Unable to create session from {
"desiredCapabilities": {
"server:CONFIG_UUID": "a2fa791a-66a4-4ade-b9d0-b1cec1eaef89"
},
"capabilities": {
"firstMatch": [
{
"server:CONFIG_UUID": "a2fa791a-66a4-4ade-b9d0-b1cec1eaef89"
}
]
}
}