我的测试用例失败,并显示了来自selenium-hub泊坞窗容器的错误消息:
转发新会话时出错:功能{browserName:chrome,平台:VISTA,版本:})
你能请人帮我吗?
这是我的docker-compose.yaml文件-
version: "3"
services:
selenium-hub:
image: selenium/hub:3.141.59-vanadium
container_name: selenium-hub
ports:
- "4444:4444"
chrome:
ports:
- "5555:5555"
image: selenium/node-chrome-debug:3.141.59-vanadium
volumes:
- /dev/shm:/dev/shm
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
在浏览器中进行请求时,我收到以下响应错误消息-http://localhost:4444/wd/hub/static/resource/hub.html
{
"sessionId": null,
"status": 13,
"value": {
"class": "org.openqa.grid.common.exception.GridException",
"error": "unknown error",
"message": "Session [(null externalkey)] not available and is not among the last 1000 terminated sessions.\nActive sessions are[]"
}