Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: patch
---

### Changed

- `/playwright:playwright` is synced to `@playwright/cli` 0.1.24. The `run-code` reference now says to read `console` for errors thrown by listeners a body registers.
6 changes: 3 additions & 3 deletions plugins/playwright/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ The marketplace also runs every vendored skill's check weekly in its

## Why this wraps the upstream skill

Verdict: keep the wrapper. Microsoft's own skill, `@playwright/cli` 0.1.23
(checked 2026-11-03; recheck when a newer `@playwright/cli` release changes its `SKILL.md`
Verdict: keep the wrapper. Microsoft's own skill, `@playwright/cli` 0.1.24
(checked 2026-11-16; recheck when a newer `@playwright/cli` release changes its `SKILL.md`
description, length, or reference layout), falls short of the skill-authoring guidance this
marketplace follows:

Expand All @@ -95,7 +95,7 @@ marketplace follows:
guidance tells authors to stay under, and carries the whole command reference
inline, so every invocation loads all of it. For that size guidance, see
[Skills: Add supporting files](https://code.claude.com/docs/en/skills#add-supporting-files).
- Seven of its ten reference files run past 100 lines (up to 433) with no
- Six of its ten reference files run past 100 lines (up to 433) with no
contents list.

This wrapper is a 163-line hub with trigger phrases, routes to eleven
Expand Down
6 changes: 3 additions & 3 deletions plugins/playwright/skills/playwright/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ allowed-tools: Bash(playwright-cli:*)
metadata:
source: https://github.com/microsoft/playwright-cli
upstream-package: "@playwright/cli"
upstream-version: 0.1.23
upstream-sha: a180691e3dfe0b55afdcc7a54f24bf7404186513
synced: 2026-11-03
upstream-version: 0.1.24
upstream-sha: 51879b34702b683e25be6abd824c66f54a664b9c
synced: 2026-11-16
workflow-stage: test
summary: Live E2E browser automation with disk-written artifacts
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ Return values from the function are printed as command result.

Treat the `run-code` body as a sandbox, not full Node.js: pass values such as secrets in from the shell as JSON-encoded literals (see the login example below), never through `process.env` or a Node module inside the body.

- **Pointer**: when you need to know which globals the `run-code` sandbox provides, fetch the [v0.1.22 release notes](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.22) live. **As of**: 2026-11-03. **Recheck trigger**: the frontmatter `upstream-version` moves.
- **Pointer**: when you need to know which globals the `run-code` sandbox provides, fetch the [v0.1.22 release notes](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.22) live. **As of**: 2026-11-16. **Recheck trigger**: the frontmatter `upstream-version` moves.

After a body that registers page or context listeners, read `console` for errors those listeners threw.

- **Pointer**: how a listener's exception is reported, the "Error Handling" section of `vendor/references/running-code.md` and the [v0.1.24 release notes](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.24).

## Common recipes

Expand Down
2 changes: 1 addition & 1 deletion plugins/playwright/skills/playwright/reference/sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ playwright-cli -s=<name> delete-data # remove persistent profile data

If a headless session reports the browser is not open after a pause, run `open` again and redo any in-memory setup. Before a long pause mid-flow, raise the idle limit with `open --idle-timeout=<ms>`.

- **Pointer**: when you need the idle-shutdown default or which sessions it applies to, run `playwright-cli open --help` live; for the change, fetch the [v0.1.20 release notes](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.20). **As of**: 2026-11-03. **Recheck trigger**: the frontmatter `upstream-version` moves.
- **Pointer**: when you need the idle-shutdown default or which sessions it applies to, run `playwright-cli open --help` live; for the change, fetch the [v0.1.20 release notes](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.20). **As of**: 2026-11-16. **Recheck trigger**: the frontmatter `upstream-version` moves.

## Implicit session via env

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ playwright-cli run-code "async page => {
}"
```

Event listener errors are reported as console errors.

## Complex Workflows

```bash
Expand Down
Loading