Коллеги, привет !
Хочу запустить тесты в Selenoide , browser.json имеет структуру :
{
“chrome” : {
“default” : “71.0” ,
“versions” : {
“70.0” : {
“image” : "selenoid/vnc_chrome : 70.0" ,
“port” : “4444” ,
“path” : “/”
},
“71.0” : {
“image” : "selenoid/vnc_chrome : 71.0" ,
“port” : “4444” ,
“path” : “/”
}
}
},
“firefox” : {
“default” : “64.0” ,
“versions” : {
“63.0” : {
“image” : "selenoid/vnc_firefox : 63.0" ,
“port” : “4444” ,
“path” : “/wd/hub”
},
“64.0” : {
“image” : "selenoid/vnc_firefox : 64.0" ,
“port” : “4444” ,
“path” : “/wd/hub”
}
}
}
Подключаюсь так:
capabilities = {
“browserName”: “chrome”,
“version”: “71.0”,
“enableVNC”: True,
“enableVideo”: True,
“name”: ‘Chrome’,
“tmpfs”: {“/tmp”: “size=512m”},
“screenResolution”: “2048x1024x24”
}
driver = webdriver.Remote(
command_executor=“http://localhost:4444/wd/hub”,
desired_capabilities=capabilities)
driver = browser.set_driver(driver) - я использую Selene
При запуске получаю ошибку
E selenium.common.exceptions.WebDriverException: Message: New session attempts retry count exceeded
В чем может быть проблема ?