Set up and use a Hearth browser and device farm: install the CLI, bring up a farm, connect Playwright, Selenium and Appium suites, debug failed sessions, add devices. Includes the Hearth MCP server (hearth mcp).
Hearth is an open-source browser and device farm for Kubernetes by TestZeus
(docs, videos), the makers of
Hercules, the open-source QA agent.
You install one Helm chart; from
then on your Playwright, Selenium and Appium tests point at one URL. Hearth starts a fresh browser
for every session, queues requests when the farm is full, grows and shrinks its pools, and keeps a
video of every session. A web UI on the same URL shows sessions live and lets you take control.
It is for teams that run end-to-end tests in CI and want their own grid: no client plugins, no
per-minute bill, and the browsers run next to the apps they test. iOS capacity grows by adding
Macs from the farm's UI with one pasted command.
Hearth sends usage telemetry to TestZeus (errors, session timing and an hourly farm snapshot,
tagged with the farm's host name and location; never keys, team names, page URLs or artifacts) so
we know who uses it and can fix what breaks; --no-telemetry or
telemetry.enabled: false turns it off. See Telemetry. Otherwise the
farm reaches outside your cluster only to pull its images, and a Mac or Linux host downloads
hearth-agent from GitHub releases when it joins.
Status: v0.2.1, the latest
release (0.x, so APIs and CRDs may still change before 1.0). Browsers (Playwright, CDP, Selenium),
Android emulators and iOS simulators, the web UI, teams, limits, warm pools and recordings all
work. See the changelog and the roadmap.
Get started in one line
curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | sh
hearth up local
The first line installs hearth and hearth-agent into ~/.local/bin after checking their
SHA-256 (other ways to install). The second creates a local
kind cluster, installs the chart, and prints a URL and an API key; it
needs Docker, kind, Helm and kubectl (hearth doctor checks). hearth up aws and
hearth up gcp do the same in your cloud account.
import { chromium } from "playwright"; // 1.65.x, to match the farm
const browser = await chromium.connect("ws://localhost:8080/playwright/chromium", {
headers: { Authorization: `Bearer ${process.env.HEARTH_KEY}` }, // export HEARTH_KEY="$(hearth key)"
});
Or let your coding agent set it up
Paste this into your coding agent (Claude Code, Codex, Cursor, Copilot, Gemini CLI, ...) in your
test project's folder. It looks around, asks you a few questions, installs Hearth, runs one of your
tests on it and connects itself to the farm. Your API key never goes through the chat.
Set up Hearth (open-source browser and device farm for Kubernetes, https://test-zeus-ai.github.io/testzeus-hearth) for this
project's end-to-end tests. Guide: https://test-zeus-ai.github.io/testzeus-hearth/guide/coding-agents/