使用 playwright CLI skills

执行命令:

npm install -g @playwright/cli@latest

使用命令测试, chrome browser是否能打开:

playwright-cli open https://www.bing.com --headed

安装 skills。默认安装到 .claude 下的skills目录

playwright-cli install--skills

然后,打开 vs code, 在 智能体 plugin里输入 prompt:

open soso.com, search "software testing using chatgpt", and open browser in a header mode