How to setup Playwright-CLI as a headless browser for Claude
Here's a great video on how use Microsoft's open source Playwright headless browser to be accessible in Claude as a skill. Watch this video to see how to do it: https://www.youtube.com/watch?v=I9kO6-yPkfM
I was able to tell Claude Code to use /playwright-cli to read the content from a substack blog which required my login and a captcha, and process the content in a summarized note for me saving it in my Obsidian vault.
In the video, it says you can install this by having Claude Code read the Github repo link. However, I found it easier to install with the three shell commands. Claude Code was jumping through all kinds of hoops to install it. Three shell commands worked in 30 seconds.
Use these three shell commands in order:
  1. npm install -g @playwright/cli
  2. npx playwright install chromium
  3. playwright-cli install --skills
1
1 comment
Bruce Fleck
2
How to setup Playwright-CLI as a headless browser for Claude
Gen AI University (GenAIU)
skool.com/genaiuniversity
Where founders build agentic companies. Since 2021.
Leaderboard (30-day)
Powered by