From 4e0976328c5c3bb5903a9cd3647924dcbe1c881c Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Sun, 15 Mar 2026 12:08:07 -0700 Subject: [PATCH] chore: roll Playwright to 1.59.0-alpha-1773598190000 --- .claude/skills/dev/roll.md | 7 +++++-- .gitignore | 4 +++- package-lock.json | 26 +++++++++++++------------- package.json | 4 ++-- playwright-cli.js | 5 ++++- 5 files changed, 27 insertions(+), 19 deletions(-) diff --git a/.claude/skills/dev/roll.md b/.claude/skills/dev/roll.md index 5341c96..2480512 100644 --- a/.claude/skills/dev/roll.md +++ b/.claude/skills/dev/roll.md @@ -2,11 +2,14 @@ ## Steps -1. **Update Playwright packages** in `package.json`: +1. **Obtain latest Playwright version** + `npm info playwright@next version` + +2. **Update Playwright packages** in `package.json`: - Update `playwright` (dependency) and `@playwright/test` (devDependency) to the target version. - Run `npm install` to update `package-lock.json`. -2. **Run the update script** to sync skills and README: +3. **Run the update script** to sync skills and README: ```bash node scripts/update.js ``` diff --git a/.gitignore b/.gitignore index e43d0b1..e5c0047 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ node_modules/ .vscode/ /test-results/ -/.playwright-cli/ \ No newline at end of file +/.playwright-cli/ +# Ignore self-skill which is a build artifact +.claude/skills/playwright-cli/ diff --git a/package-lock.json b/package-lock.json index e925106..e3cc480 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,13 +10,13 @@ "license": "Apache-2.0", "dependencies": { "minimist": "^1.2.5", - "playwright": "1.59.0-alpha-1771104257000" + "playwright": "1.59.0-alpha-1773598190000" }, "bin": { "playwright-cli": "playwright-cli.js" }, "devDependencies": { - "@playwright/test": "1.59.0-alpha-1771104257000", + "@playwright/test": "1.59.0-alpha-1773598190000", "@types/node": "^25.2.1" }, "engines": { @@ -24,13 +24,13 @@ } }, "node_modules/@playwright/test": { - "version": "1.59.0-alpha-1771104257000", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.0-alpha-1771104257000.tgz", - "integrity": "sha512-0zUPgLuSbyO2xtA+FdEWejFpA5tYU1dINMj2D6KGbB7dgxW8V/4bOrpYS38hizSrzpdSiuRcIK7UgiNFxEeK3A==", + "version": "1.59.0-alpha-1773598190000", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.0-alpha-1773598190000.tgz", + "integrity": "sha512-JJ+tMHTAhK2DHgsaNeadz/83xoOvzicsWop8w6A2RUzRwStBMmzvli+vyBtJ7qIK9ybGTX7OcZvDwDjE8HaIAw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.59.0-alpha-1771104257000" + "playwright": "1.59.0-alpha-1773598190000" }, "bin": { "playwright": "cli.js" @@ -73,12 +73,12 @@ } }, "node_modules/playwright": { - "version": "1.59.0-alpha-1771104257000", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.0-alpha-1771104257000.tgz", - "integrity": "sha512-6SCMMMJaDRsSqiKVLmb2nhtLES7iTYawTWWrQK6UdIGNzXi8lka4sLKRec3L4DnTWwddAvCuRn8035dhNiHzbg==", + "version": "1.59.0-alpha-1773598190000", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.0-alpha-1773598190000.tgz", + "integrity": "sha512-DRWQxcLaT4uiEohRTGO9eicPI2TErjc2bpM7vFmEtR5i3PFrgYwx/7pKA6qj3XA3F6AGX9y9O2wsqeinqEjsEQ==", "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.59.0-alpha-1771104257000" + "playwright-core": "1.59.0-alpha-1773598190000" }, "bin": { "playwright": "cli.js" @@ -91,9 +91,9 @@ } }, "node_modules/playwright-core": { - "version": "1.59.0-alpha-1771104257000", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.0-alpha-1771104257000.tgz", - "integrity": "sha512-YiXup3pnpQUCBMSIW5zx8CErwRx4K6O5Kojkw2BzJui8MazoMUDU6E3xGsb1kzFviEAE09LFQ+y1a0RhIJQ5SA==", + "version": "1.59.0-alpha-1773598190000", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.0-alpha-1773598190000.tgz", + "integrity": "sha512-9TSjHfBP6e5+V9UScIH2q4CrRMPei52K78uTLw4xqj+lQ6U7LVyyMVkFjNRjMXqBg+exeLcG9HN7Gd+s5gprNg==", "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" diff --git a/package.json b/package.json index 3bbb372..5df0edb 100644 --- a/package.json +++ b/package.json @@ -18,12 +18,12 @@ "test": "playwright test" }, "devDependencies": { - "@playwright/test": "1.59.0-alpha-1771104257000", + "@playwright/test": "1.59.0-alpha-1773598190000", "@types/node": "^25.2.1" }, "dependencies": { "minimist": "^1.2.5", - "playwright": "1.59.0-alpha-1771104257000" + "playwright": "1.59.0-alpha-1773598190000" }, "bin": { "playwright-cli": "playwright-cli.js" diff --git a/playwright-cli.js b/playwright-cli.js index 5f04336..6ea172f 100755 --- a/playwright-cli.js +++ b/playwright-cli.js @@ -15,4 +15,7 @@ * limitations under the License. */ -require('playwright/lib/cli/client/program'); +const { program } = require('playwright-core/lib/tools/cli-client/program'); +const packageJson = require('./package.json'); + +program({ embedderVersion: packageJson.version });