Skip to main content

Playing back

Click Play. Trq:

  1. Clears browser state (cookies, localStorage, sessionStorage, IndexedDB, caches, service workers).
  2. Replays every step from step 1, showing live progress (3/12 click) in the toolbar.
  3. Captures a viewport screenshot per step for the Timeline (a full-page screenshot is captured only on failure, for context).
  4. Stops at the first failure, or completes the run.

Replay in progress — live progress in the toolbar and the running step marked in Events

When a step fails

Replay pauses with a banner — ⚠ Step 5/12 · <reason> — and the toolbar offers:

A step failed — the pause banner names the step and reason, with Retry / Skip / Edit step / Stop in the toolbar

  • Retry — re-run the step (it reads the freshest version from disk, so you can edit first).
  • Skip — mark it skipped and continue.
  • Edit step — open the Edit drawer on the failed step. Trq suggests fresh selectors scored from the live page, and Pick from page lets you click the correct element to capture a new selector.
  • Stop — abort the run.

Edit step on a failure — suggested selectors scored from the live page, plus Pick from page

Running outside the app

To replay from a terminal or a CI pipeline — headless, with a JUnit/JSON report and a pass/fail exit code — use the standalone Trq CLI.