screencli opens your app in a real browser and checks that a change actually works — not that the code compiles, but that a person can use it. There are two ways to run it:
- The GitHub App — installs on your repos and, on every pull request, reads the diff, drives your preview deployment in a real browser, and posts a pass / fail / inconclusive verdict plus a recording as a PR comment. You don't write test files; the agent decides what to test from what changed.
- The CLI —
npx screencli record <url> -p "<prompt>"runs the same engine from any terminal or AI coding agent (Claude Code, Cursor, Windsurf, …) for one-off recordings, demos, and verifications.
Both produce the same thing: a browser recording and a plain-language verdict, viewable on a shareable link at screencli.sh/v/<id>.
Why a browser check
Your CI can be fully green while the feature is still broken. Type-checks confirm the types line up, unit tests confirm the reducer returns the right value, and a preview deploy confirms the URL returns a 200 — none of them click the new button. screencli is the layer that opens the running app, performs the change's user-facing flow, and reports whether it worked.
Pick your path
- Get started with the GitHub App — the automatic path: connect the App, pick repos, open a PR, read the verdict. Start here if you want verification on every PR.
- Use the CLI — the standalone path: record or verify a URL from your terminal or coding agent, with no GitHub App required.
How the GitHub App verifies a PR
When a pull request's preview deployment goes live, screencli:
- Resolves the repo config and the preview URL, then dispatches one isolated cloud sandbox for the PR.
- Inside the sandbox, clones the repo at the PR's head commit and fetches the unified diff.
- Runs a headless coding agent that reads the diff, writes a single Playwright test covering the change's user-facing behavior, and runs it against the preview URL — recording the whole session as video.
- Posts (or updates) a PR comment with the overall verdict and a recording thumbnail that links to the watch page.
The recording and verdict also appear on your dashboard.