We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0edfac commit c4bcbf2Copy full SHA for c4bcbf2
1 file changed
f8x
@@ -6297,11 +6297,10 @@ Pentest_playwright_mcp_Install(){
6297
Echo_ALERT "$name installed"
6298
else
6299
npm install -g @playwright/mcp
6300
- cd /tmp && npm init -y && npm install @playwright/test
6301
- npx -y @playwright/test install chromium
6302
- npx -y playwright install chrome
6303
- npx -y playwright install --with-deps chromium
6304
npm list -g @playwright/mcp && Echo_INFOR "Successfully installed $name" || Echo_ERROR3
+ # 安装浏览器(@playwright/mcp 需要 chrome-for-testing)
+ # npx -y playwright install --with-deps chrome
+ npx playwright install chromium
6305
fi
6306
6307
}
0 commit comments