-
Notifications
You must be signed in to change notification settings - Fork 9
docs(mcp): execute_playwright_code passthrough + manage_replays tool #452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
85c1958
docs(mcp): require session_id for execute_playwright_code; add manage…
dprevoznik d56f4a2
docs(mcp): trim manage_replays description
dprevoznik 2c57018
docs(mcp): drop framerate from manage_replays example
dprevoznik 23fd333
docs(mcp): use a bullet list for the MCP workflow steps
dprevoznik d36173f
docs(mcp): simplify MCP integration blurb in playwright-execution
dprevoznik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| --- | ||
| title: "manage_replays" | ||
| description: "Start, stop, and list video replay recordings for a browser session" | ||
| --- | ||
|
|
||
| Record video replays of a browser session. Recording is opt-in and session-scoped: start a recording once, run your automation (for example with [`execute_playwright_code`](/reference/mcp-server/tools/execute-playwright-code)), then stop it. | ||
|
|
||
| <Note>Replays require a headful session. They are not available for [headless](/browsers/headless) browsers.</Note> | ||
|
|
||
| ## Actions | ||
|
|
||
| | Action | Description | | ||
| |--------|-------------| | ||
| | `start` | Begin recording a session. Returns a `replay_id`. | | ||
| | `stop` | Stop a recording. | | ||
| | `list` | List recordings for a session, including their view/download URLs. | | ||
|
|
||
| ## Parameters | ||
|
|
||
| | Parameter | Description | | ||
| |-----------|-------------| | ||
| | `action` | Operation to perform: `start`, `stop`, or `list`. Required. | | ||
| | `session_id` | Browser session ID. Required. | | ||
| | `replay_id` | Recording ID to stop. Required for `stop`. | | ||
| | `framerate` | (start) Frames per second for the recording. | | ||
| | `max_duration_in_seconds` | (start) Maximum recording length in seconds. | | ||
| | `record_audio` | (start) Capture audio in addition to video. | | ||
|
|
||
| ## Example | ||
|
|
||
| ```json | ||
| { | ||
| "action": "start", | ||
| "session_id": "session_abc123", | ||
| "max_duration_in_seconds": 300 | ||
| } | ||
| ``` | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing canonical replays link
Low Severity
The new
manage_replayspage restates replay recording behavior (opt-in start/stop/list flow and headful limits) without linking to the canonical/browsers/replaysguide for full details such asreplay_view_urland download. This violates the single-source-of-truth rule that cross-page coverage should summarize and link rather than stand alone.Triggered by learned rule: Single source of truth — no deep content duplication across pages
Reviewed by Cursor Bugbot for commit d36173f. Configure here.