Skip to content

Commit bd59c16

Browse files
committed
chore: roll Playwright to latest
1 parent 18b2e8d commit bd59c16

6 files changed

Lines changed: 17 additions & 34 deletions

File tree

.claude/skills/roll/SKILL.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ playwright-cli --help
3131

3232
Claude Code, GitHub Copilot and others will use the locally installed skills.
3333

34-
Run this command in your project's root directory:
35-
3634
```bash
3735
playwright-cli install --skills
3836
```

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"test": "playwright test"
1919
},
2020
"devDependencies": {
21-
"@playwright/test": "1.59.0-alpha-1770426101000",
21+
"@playwright/test": "1.59.0-alpha-2026-02-14",
2222
"@types/node": "^25.2.1"
2323
},
2424
"dependencies": {
2525
"minimist": "^1.2.5",
26-
"playwright": "1.59.0-alpha-1770426101000"
26+
"playwright": "1.59.0-alpha-2026-02-14"
2727
},
2828
"bin": {
2929
"playwright-cli": "playwright-cli.js"

playwright-cli.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,4 @@
1515
* limitations under the License.
1616
*/
1717

18-
const { program } = require('playwright/lib/mcp/terminal/program');
19-
const packageLocation = require.resolve('./package.json');
20-
program(packageLocation).catch(e => {
21-
console.error(e.message);
22-
process.exit(1);
23-
});
18+
require('playwright/lib/cli/client/program');

scripts/update.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ function run(command, options = {}) {
1111
}
1212

1313
async function main() {
14-
// 1. Install latest @playwright/cli as dev dependency
15-
console.log('\n=== Installing @playwright/cli ===\n');
16-
run('npm install --save-dev @playwright/cli@latest');
17-
const { version } = require(path.join(rootDir, 'node_modules', '@playwright', 'cli', 'package.json'));
18-
console.log(`Installed @playwright/cli version: ${version}`);
19-
2014
// 2. Run playwright-cli install-skills
2115
console.log('\n=== Running playwright-cli install --skills ===\n');
22-
run('npx playwright-cli install --skills');
16+
run('node playwright-cli.js install --skills');
2317

2418
// 3. Move generated skills into the existing skills folder
2519
console.log('\n=== Updating skills folder ===\n');

0 commit comments

Comments
 (0)