1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update selenoid

This commit is contained in:
kev 2021-06-01 11:40:12 +08:00
parent df6940f6ec
commit 422ad73916
3 changed files with 38 additions and 18 deletions

View File

@ -27,27 +27,38 @@ Required Images
- aerokube/selenoid:latest-release - aerokube/selenoid:latest-release
- aerokube/selenoid-ui:latest-release - aerokube/selenoid-ui:latest-release
- selenoid/video-recorder:latest-release - selenoid/video-recorder:latest-release
- selenoid/chrome:80.0 - selenoid/chrome:91.0
- selenoid/firefox:74.0 - selenoid/firefox:88.0
- selenoid/vnc:chrome_80.0 - selenoid/opera:76.0
- selenoid/vnc:firefox_74.0 - selenoid/vnc:chrome_91.0
- selenoid/vnc:firefox_88.0
- selenoid/vnc:opera_76.0
```json ```json
{ {
"chrome": { "chrome": {
"default": "80.0", "default": "91.0",
"versions": { "versions": {
"80.0": { "91.0": {
"image": "selenoid/vnc:chrome_80.0", "image": "selenoid/vnc:chrome_91.0",
"port": "4444" "port": "4444"
} }
} }
}, },
"firefox": { "firefox": {
"default": "74.0", "default": "88.0",
"versions": { "versions": {
"74.0": { "88.0": {
"image": "selenoid/vnc:firefox_74.0", "image": "selenoid/vnc:firefox_88.0",
"port": "4444"
}
}
},
"opera": {
"default": "76.0",
"versions": {
"76.0": {
"image": "selenoid/vnc:opera_76.0",
"port": "4444" "port": "4444"
} }
} }
@ -62,7 +73,7 @@ from selenium import webdriver
capabilities = { capabilities = {
"browserName": "chrome", "browserName": "chrome",
"version": "80.0", "version": "91.0",
"enableVNC": True, "enableVNC": True,
"enableVideo": False "enableVideo": False
} }

View File

@ -1,18 +1,27 @@
{ {
"chrome": { "chrome": {
"default": "90.0", "default": "91.0",
"versions": { "versions": {
"90.0": { "91.0": {
"image": "selenoid/vnc:chrome_90.0", "image": "selenoid/vnc:chrome_91.0",
"port": "4444" "port": "4444"
} }
} }
}, },
"firefox": { "firefox": {
"default": "87.0", "default": "88.0",
"versions": { "versions": {
"87.0": { "88.0": {
"image": "selenoid/vnc:firefox_87.0", "image": "selenoid/vnc:firefox_88.0",
"port": "4444"
}
}
},
"opera": {
"default": "76.0",
"versions": {
"76.0": {
"image": "selenoid/vnc:opera_76.0",
"port": "4444" "port": "4444"
} }
} }

View File

@ -33,7 +33,7 @@ services:
- "8888:8888" - "8888:8888"
environment: environment:
- BROWSER_NAME=chrome - BROWSER_NAME=chrome
- BROWSER_VERSION=79.0 - BROWSER_VERSION=91.0
- BROWSER_REGION=1 - BROWSER_REGION=1
- BROWSER_HOSTS=tasks.selenoid - BROWSER_HOSTS=tasks.selenoid
- BROWSER_PORT=4444 - BROWSER_PORT=4444