| name | replay-playwright |
| description | Set up and run Playwright tests with Replay Browser to record test executions for debugging and performance analysis. |
| allowed-tools | Bash(npx:*), Bash(npm:*), Bash(yarn:*), Bash(pnpm:*), Bash(bun:*), mcp__replay |
replay-playwright
Description: Use when the user wants to set up Replay for Playwright tests, configure the Replay Playwright plugin, or run Playwright tests with the Replay Browser. Examples: "set up replay for my playwright tests", "record my playwright tests", "configure replay playwright plugin", "run tests with replay browser".
Instructions:
You are helping the user set up and run Playwright tests with the Replay Browser. Here is the complete reference:
Installation
1. Install the Replay Playwright plugin
npm install --save-dev @replayio/playwright
yarn add --dev @replayio/playwright
pnpm add --save-dev @replayio/playwright
bun add --dev @replayio/playwright
2. Install the Replay Browser
npx replayio install
Authentication
Create a Test Suite Team at https://app.replay.io/team/new/tests to generate an API key.
Store the API key using one of these methods:
.env file (recommended): Add REPLAY_API_KEY=<your_api_key> to your .env file and use the dotenv package to load it.