recording-browser-flow-as-test

Installation
SKILL.md

Recording Browser Flow as Playwright Test

Use the browser MCP as a recorder: every navigation, click, fill, and keypress becomes a row in a script. The agent then translates that trace into a Playwright test file in the repo (or a snippet to paste into an existing spec).

This is Cursor-native because it combines browser_snapshot (refs + roles + names) with structured actions — not a separate recorder extension.

Prerequisites

  • Target app reachable (e.g. dev server running); use finding-dev-server-url if needed.
  • Repo has or will have Playwright installed (@playwright/test). If not, add it with adding-e2e-tests or the project’s standard setup.

Recording workflow

1. Define the flow

One sentence scope, e.g. “Log in, open Settings, toggle dark mode, save.”

2. For each step, in order

Installs
137
GitHub Stars
525
First Seen
Apr 19, 2026
recording-browser-flow-as-test — spencerpauly/awesome-cursor-skills