-
Notifications
You must be signed in to change notification settings - Fork 101
Selenium Grid
Somkiat Puisungnoen edited this page Apr 22, 2025
·
2 revisions
File compose.yml
services:
chrome:
image: selenium/node-chrome:4.31.0-20250414
platform: linux/amd64
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
selenium-hub:
image: selenium/hub:4.31.0-20250414
container_name: selenium-hub
ports:
- "4442:4442"
- "4443:4443"
- "4444:4444"
Run
$docker compose up -d --scale chrome=5
Open Browser url=http://188.166.229.149:8000/
... browser=chrome
... options=add_experimental_option("detach", True)
... remote_url=http://localhost:4444/wd/hub