todo

浏览器模拟-selenium

up:2022-09-15 14:52:09 edit:2022-09-15 14:56:35 view:399

docker run --rm  -p 4444:4444 -p 7900:7900 --shm-size="2g" -e SE_NODE_MAX_SESSIONS=4 selenium/standalone-chrome:4.4.0-20220831


other options

#enable more session than cpu core

SE_NODE_OVERRIDE_MAX_SESSIONS=true

#change vnc password


x11vnc
-storepasswd
secretNew

/home/seluser/.vnc/passwd


docs

https://www.selenium.dev/documentation/grid/getting_started/


https://github.com/SeleniumHQ/docker-selenium#increasing-session-concurrency-per-container



not in sinaapp