A browser and device farm for Kubernetes¶
Hearth is open source (AGPL-3.0). 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.
curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | sh
hearth up local
The first line installs the hearth command (more ways). The second makes a
farm on your laptop (a local kind cluster) and
prints a URL and an API key. Then:
import { chromium } from "playwright";
const browser = await chromium.connect(`ws://localhost:8080/playwright/chromium?token=${KEY}`);
Three ways to use it¶
- Playwright:
chromium.connect,firefox.connectandwebkit.connectfrom Node, Python, Java or .NET, plusconnectOverCDPfor Chromium. Each session gets a whole browser of its own. See Playwright. - Selenium: a Grid-compatible W3C endpoint at
/wd/hubfor Chrome and Firefox. See Selenium. - Appium: the same
/wd/hubserves Android emulators and iOS simulators thathearth-agentreports from hosts, or Android emulators that run as pods. See Mobile devices.
And a web UI on the same URL: running sessions with a live view you can take control of, recordings, pools, app uploads and copy-paste connect snippets. See The web UI.
Where to go next¶
| I want to... | Read |
|---|---|
| Try it on my laptop, then install it on a cluster | Getting started |
| Install, upgrade or remove the CLI | Install the CLI |
| Run a QA agent such as Hercules on my own farm | QA agents and Hercules |
| Watch short videos of every feature | Videos |
| Let my coding agent set it up and debug sessions | Coding agents |
| Understand the moving parts | Architecture |
| Size pools and control cost | Pools and scaling |
| Give teams their own keys and limits | Teams and keys |
| Look up a Helm value | Configuration |
| Fix an error message | Troubleshooting |
| Call the HTTP API | HTTP API |
From the makers of Hercules¶
Hearth is made by TestZeus. Hercules
(website), the TestZeus open-source QA agent, tests web apps,
APIs and mobile apps from plain-language cases, and Hearth is its first built-in cloud: run a
passed Hercules test on your own farm with hercules cloud run <run> --cloud hearth. See
QA agents and Hercules and the videos.
All guides are listed in the guide index.
Status
The latest release is v0.2.0, 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 work today. Each guide says plainly what is not built yet.