Skip to content

Videos

Short videos of Hearth, with a spoken walkthrough and subtitles. They were recorded on a real farm (hearth up local on a Mac) and show real commands and real output. Click a picture, or the player under it on GitHub, to play the video. The steps under each one do the same on your machine. The MP4 files, their pictures and .srt subtitles are in docs/assets/videos.

The demos use a team called checkout with its own key; any team works. To make one: hearth keys create checkout (see Teams and keys).

Explainers

# Video Length
1 Hearth, in ninety seconds 1:09
2 How a session flows 1:19

Hearth, in ninety seconds

Hearth, in ninety seconds (1:09)

https://github.com/user-attachments/assets/55674aaf-7c6b-4c4e-87a1-d5e9628ced14

Download the MP4

What Hearth is and the problem it solves: one Helm chart, one URL for Playwright, Selenium and Appium, a fresh browser or device for every session, a fair queue, pools that grow and shrink, a video of every session, and agents that use the farm. To try it: Getting started.

How a session flows

How a session flows (1:19)

https://github.com/user-attachments/assets/18e950bc-f2df-45e2-9003-392bc1c90dc3

Download the MP4

The path of one session: the gateway checks the key and reads what the client asks for, picks a pool (or refuses a Playwright version the farm does not run), hands out a warm browser or queues the request while the operator starts another pod, and, at the end, stores the video, frees the team's slot and deletes the pod. Devices take the same path through hearth-agent. In depth: Architecture.

Features

# Video Length
1 Run your Playwright tests on Hearth 1:27
2 Watch a session live, and take control 1:07
3 Selenium on the same URL 0:45
4 iOS simulators and Android emulators 1:06
5 Pools, queues and team limits 1:12
6 Let your coding agent use the farm 0:56
7 Hercules on Hearth 1:10

1. Run your Playwright tests on Hearth

Run your Playwright tests on Hearth (1:27)

https://github.com/user-attachments/assets/e286e081-0458-484c-8507-7e1933887647

Download the MP4

  1. Check the farm: hearth status lists each pool, its engine and Playwright version, and how many browsers are ready.
  2. Put your team's key in the environment, never in a file: export HEARTH_KEY="$(hearth key checkout)".
  3. In examples/playwright-node, each Playwright project connects to the farm with the key as a bearer header, names its session with x-hearth-name, and sets headless: false so the session has a video and a live view.
  4. Match the client to the farm: npx playwright --version must be 1.65.x for the default pools.
  5. Run npx playwright test: Chromium, Firefox and WebKit, each test in its own fresh browser.
  6. Open the farm's address, sign in with the key, and open a session to see its client, duration and video.
  7. In CI, find a test's sessions by name: GET /api/sessions?name=<name> (HTTP API).

2. Watch a session live, and take control

Watch a session live, and take control (1:07)

https://github.com/user-attachments/assets/b014706a-6a9f-401c-8ab5-7304b0b0709a

Download the MP4

  1. Start a test that waits for a person: it opens a sign-in page, fills in the user name, and waits for the next page (as with a one-time code only a person has).
  2. In Sessions, the running session is at the top, marked Live, with a moving thumbnail. Open it.
  3. Click Take control. Your mouse and keyboard now go to the browser in its pod: type the password and click Login.
  4. Press Escape to give control back. The test carries on in the same browser.
  5. When the session ends, its recording plays on the same page; Download the recording saves it.
  6. For a session that is stuck for good, Stop session, then Yes, stop: the test gets an error at once instead of waiting for a timeout. See The web UI.

3. Selenium on the same URL

Selenium on the same URL (0:45)

https://github.com/user-attachments/assets/3d55364b-c482-4776-931b-6982ad65b285

Download the MP4

  1. Point the remote WebDriver at $HEARTH_URL/wd/hub, with the key as the basic-auth password; the user name is ignored.
  2. hearth:options names the session ({"name": "..."}) or picks a pool ({"pool": "selenium-chrome"}).
  3. In examples/selenium-python, run pytest -q: Chrome and Firefox, each in its own pod, with the same queue and team limits.
  4. In the UI, the sessions show the WebDriver protocol, their names and a video. See Selenium.

4. iOS simulators and Android emulators

iOS simulators and Android emulators (1:06)

https://github.com/user-attachments/assets/39e2d16b-dd1b-488d-871c-5e5da9009704

Download the MP4

  1. Device pools come from hearth-agent on a Mac or Linux host (Add a Mac), or from emulator pods. hearth status and the Pools page show each one's device, OS version and ready count.
  2. Upload the app once: hearth app upload HearthDemo.app.zip prints its hearth:app:<sha256> reference. Links to apps elsewhere are refused.
  3. Start an Appium session at /wd/hub with platformName iOS, appium:deviceName iPhone 17, appium:platformVersion 27.2, appium:app set to the reference, and hearth:options.name.
  4. Open the session: the live view is the simulator's screen; Take control taps, swipes, types and presses Home.
  5. When it ends, the device is reset for the next session, and video.mp4 and device.log are kept. See Mobile devices.

5. Pools, queues and team limits

Pools, queues and team limits (1:12)

https://github.com/user-attachments/assets/1e80908a-4cde-4ee7-809f-ab8868e2b94d

Download the MP4

  1. A pool keeps warm browsers ready and grows to maxSessions while there is work.
  2. Start four sessions: two take the warm browsers, and the operator starts pods for the other two within seconds.
  3. With the team at its limit (maxSessions: 4 on the Team), a fifth is refused at once: 429 team_limit, "your team is already running its limit of 4 sessions".
  4. When a pool itself is full, requests wait in a first-come, first-served queue; after queueTimeoutSeconds the answer is 429 pool_busy with Retry-After.
  5. Idle browsers above warm go after scaleDownDelaySeconds. BrowserPool and Team are set in the chart's values. See Pools and scaling and Teams and keys.

6. Let your coding agent use the farm

Let your coding agent use the farm (0:56)

https://github.com/user-attachments/assets/d5956ff0-537c-4940-8549-a6da901008ac

Download the MP4

  1. Register the MCP server: claude mcp add --env HEARTH_URL=http://localhost:8080 --transport stdio hearth -- hearth mcp. The key comes from the environment, never from the chat.
  2. Ask in plain words, for example "Which of our sessions on the farm failed today, and why? One line each, with its link." The agent lists failed sessions, reads each error and links to each session's page.
  3. hearth skills install (or --project) adds the hearth-setup, hearth-connect-tests, hearth-debug-session and hearth-devices skills. See Coding agents.

7. Hercules on Hearth

Hercules on Hearth (1:10)

https://github.com/user-attachments/assets/692a9287-9ca3-4f2e-acc3-04e9f29134c6

Download the MP4

  1. Connect Hercules once: echo "$HEARTH_KEY" | hercules cloud connect hearth --url $HEARTH_URL, then hercules cloud check hearth.
  2. Run the case from examples/hercules: hercules run login.feature --base-url https://www.saucedemo.com.
  3. Run the passed run on the farm: hercules cloud run <run-id> --cloud hearth. It prints the session's link; the session is named after the case.
  4. For CI: hercules cloud bundle <run-id> --cloud hearth --out login-hearth.zip, then pytest tests with HEARTH_URL and HEARTH_KEY set. See QA agents and Hercules.