From 9df17d53a6c4d04bd90201fc6bf53e62e0331b19 Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Mon, 16 Nov 2026 03:16:09 -0500 Subject: [PATCH] chore(playwright): sync to upstream v0.1.24 update.sh --apply replaced vendor/ with the skill bundled in @playwright/cli 0.1.24 and moved the frontmatter pin. The one vendored change, run-code listener exceptions reported as console errors, is ported to reference/running-code.md as a decision plus pointer. Records whose recheck trigger is the upstream version and that rest on text were re-derived from the v0.1.24 release notes and re-dated. The README's wrapper verdict is rechecked against 0.1.24, with the count of vendored reference files over 100 lines corrected to six. Co-Authored-By: Claude Opus 5.5 --- .../docs-upstream-playwright-revendor-316a0e75.md | 7 +++++++ plugins/playwright/README.md | 6 +++--- plugins/playwright/skills/playwright/SKILL.md | 6 +++--- .../playwright/skills/playwright/reference/running-code.md | 6 +++++- plugins/playwright/skills/playwright/reference/sessions.md | 2 +- .../skills/playwright/vendor/references/running-code.md | 2 ++ 6 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 .changes/playwright/docs-upstream-playwright-revendor-316a0e75.md diff --git a/.changes/playwright/docs-upstream-playwright-revendor-316a0e75.md b/.changes/playwright/docs-upstream-playwright-revendor-316a0e75.md new file mode 100644 index 00000000000..59afa6cb774 --- /dev/null +++ b/.changes/playwright/docs-upstream-playwright-revendor-316a0e75.md @@ -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. diff --git a/plugins/playwright/README.md b/plugins/playwright/README.md index e1f147982d5..9f521fa2bd6 100644 --- a/plugins/playwright/README.md +++ b/plugins/playwright/README.md @@ -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: @@ -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 diff --git a/plugins/playwright/skills/playwright/SKILL.md b/plugins/playwright/skills/playwright/SKILL.md index 4d7de244b8b..e4c061f27ae 100644 --- a/plugins/playwright/skills/playwright/SKILL.md +++ b/plugins/playwright/skills/playwright/SKILL.md @@ -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 --- diff --git a/plugins/playwright/skills/playwright/reference/running-code.md b/plugins/playwright/skills/playwright/reference/running-code.md index 57db446dc15..2b0e582e46d 100644 --- a/plugins/playwright/skills/playwright/reference/running-code.md +++ b/plugins/playwright/skills/playwright/reference/running-code.md @@ -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 diff --git a/plugins/playwright/skills/playwright/reference/sessions.md b/plugins/playwright/skills/playwright/reference/sessions.md index fc1e2184f69..50e2a07a92b 100644 --- a/plugins/playwright/skills/playwright/reference/sessions.md +++ b/plugins/playwright/skills/playwright/reference/sessions.md @@ -39,7 +39,7 @@ playwright-cli -s= 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=`. -- **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 diff --git a/plugins/playwright/skills/playwright/vendor/references/running-code.md b/plugins/playwright/skills/playwright/vendor/references/running-code.md index 5bf7e8cfb52..565eefdb584 100644 --- a/plugins/playwright/skills/playwright/vendor/references/running-code.md +++ b/plugins/playwright/skills/playwright/vendor/references/running-code.md @@ -218,6 +218,8 @@ playwright-cli run-code "async page => { }" ``` +Event listener errors are reported as console errors. + ## Complex Workflows ```bash