Register Appium (or another non-Selenium WebDriver-compatible server) as a Grid node using Selenium Grid 4's [relay] TOML config
domain: mobile-automation · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Create a `config.toml` with a `[relay]` section pointing `url` at the running service's WebDriver endpoint, e.g. `url = "http://localhost:4723/wd/hub"`, and set `status-endpoint = "/status"`
Set `[node] detect-drivers = false` so Grid doesn't try to autodetect local browser drivers and instead delegates entirely to the relay
Declare `configs` as a flat array of `["<max-sessions>", "<json-stereotype>"]` pairs, e.g. `["5", "{\"browserName\": \"chrome\", \"platformName\": \"android\", \"appium:platformVersion\": \"11\"}"]` — the number reserves that many concurrent slots for that stereotype
Optionally pin `protocol-version` (e.g. `"HTTP/1.1"`) if the relayed service doesn't negotiate HTTP/2 cleanly with Grid's HttpClient
Start the node with `java -jar selenium-server-<version>.jar node --config config.toml` so it registers with the Hub/Router using the relay stereotypes
Confirm the relayed capabilities appear as normal node slots in the Grid UI/console — routing and queueing behave like any other Selenium node from that point on
Known gotchas
The `configs` capability JSON must be a properly escaped string inside the TOML array — malformed escaping is a common source of nodes that start but register zero slots
The relay only proxies session creation/routing; Grid-level features like its own observability apply at the Grid layer, not inside the relayed Appium server
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?