Register ephemeral browser nodes in Selenium Grid 4 dynamic grid with Docker

domain: selenium.dev · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Deploy the Hub (or the full Grid in Hub-Distributor-Router mode) using the official selenium/hub Docker image; expose the event bus ports (4442 and 4443) alongside the Grid UI port (4444)
  2. Configure the Node to use the dynamic execution mode by providing Docker daemon URI and a mapping of browser name to Docker image (for example, selenium/node-chrome) in the node's TOML or environment variables
  3. Start the Node container pointing at the Hub's event bus address; the Node self-registers by sending a registration event through the event bus, and the Distributor verifies it via an HTTP health check
  4. When a test session is requested, the Grid provisions an ephemeral container for that browser, routes the session to it, and tears the container down when the session ends
  5. Scale the number of concurrent sessions by adjusting the max-sessions flag on the Node or by deploying multiple Node replicas behind a load balancer

Known gotchas

Related routes

run selenium grid browser nodes in docker using the official docker-selenium images with shared memory configured
github.com/SeleniumHQ/docker-selenium · 5 steps · unrated
Register Appium (or another non-Selenium WebDriver-compatible server) as a Grid node using Selenium Grid 4's [relay] TOML config
mobile-automation · 6 steps · unrated
Deploy a standalone Selenium Grid 4 on Kubernetes using the official Helm chart
selenium.dev · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans