Skip to content

The web UI

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

The gateway serves a small web UI on the same URL your tests use. Open the farm's address in a browser, for example http://localhost:8080 after hearth up local.

Sign in

Paste a team's API key and press Sign in. The gateway checks the key and answers with an HttpOnly cookie valid for 12 hours (marked Secure when the gateway sits behind HTTPS and sees X-Forwarded-Proto: https). From then on you see only your team's sessions, apps and limits.

The UI keeps the key in memory only, to fill the connect snippets. It never writes it to local storage or a cookie. Sign out ends the cookie session on the gateway.

Sessions

The Sessions page lists your team's sessions, running ones first, then the newest. It refreshes every 2 seconds while the tab is visible. Each row shows the state (queued, running, finishing, done, failed), the pool, the protocol (playwright, cdp, webdriver, appium), the session's name if the client gave one, the client that connected (from its User-Agent), when it started and how long it ran. The first few running sessions show a live thumbnail. Filter by state to find failures.

Finished sessions stay listed for 7 days.

A session

Each session has its own address, <farm>/sessions/<id>, to link to from test reports. Open a session to see its details and, while it runs:

  • Live view. The browser's virtual screen (or the device's screen) as an MJPEG stream. It works the same for every engine because it captures the screen, not the browser. Headless sessions have nothing to show.
  • Take control. Click the live view to send your mouse and keyboard to the session. For browsers that is mouse moves, clicks, wheel, keys and typed text; for devices it is taps, swipes, text, hardware buttons, keys and rotation. Press Escape to give control back. Your test keeps running while you drive, so use this to look around or unstick a step, not to race the test.
  • Stop. Ends the session after you confirm. The client's connection is closed and the session is marked failed with stopped by a user.

When the session ends you get:

  • Screen recording: video.mp4, played in the page, with a download link.
  • The session's error, if it failed (for example max duration reached).
  • Every other artifact stored for it, as downloads.

Anyone with the team's key can watch and take control of the team's running sessions.

Pools

The Pools page shows every browser and device pool: engine or platform, protocol, Playwright version or device and OS, and how many are ready, busy and queued. It is the same data as GET /api/pools.

Apps

The Apps page uploads an app for device sessions (an .apk, or a simulator .app packed as .zip) and lists the team's uploaded apps. Copy reference copies the hearth:app:<sha256> value to put in appium:app. See Mobile devices.

Connect

The Connect page has copy-paste snippets for every pool, filled with the farm's address: Playwright for JavaScript, Python, Java and .NET, CDP, Selenium for JavaScript, Python and Java, and Appium for JavaScript and Python. The key is hidden until you reveal it.

Theme

Light and dark follow your system; the toggle in the header overrides it. Only that choice is stored in the browser.