1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update selenium

This commit is contained in:
kev 2021-10-14 18:41:53 +08:00
parent d8fe94ca6d
commit 545c8150bc
2 changed files with 4 additions and 3 deletions

View File

@ -155,6 +155,7 @@ driver.quit();
```bash
# VNC
$ open vnc://:secret@127.0.0.1:5900
$ open http://127.0.0.1:7900
# PYTHON
$ pip3 install selenium

View File

@ -8,13 +8,13 @@ services:
- "4442:4442"
- "4443:4443"
- "4444:4444"
shm_size: 2gb
restart: unless-stopped
chrome:
image: selenium/node-chrome:4
ports:
- "5900:5900"
- "7900:7900"
environment:
- SE_EVENT_BUS_HOST=hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
@ -30,10 +30,10 @@ services:
image: selenium/video
volumes:
- ./data:/videos
depends_on:
- chrome
environment:
- DISPLAY_CONTAINER_NAME=chrome
- FILE_NAME=output.mp4
shm_size: 2gb
depends_on:
- chrome
restart: unless-stopped