patchright-cli
Installation
SKILL.md
Anti-Detect Browser Automation with patchright-cli
patchright-cli drives a real Chrome browser that passes bot detection (Cloudflare, Akamai, etc.). It works as a CLI: you issue commands, get back page state. This is the tool to reach for whenever regular Playwright or Chrome DevTools gets blocked.
Quick start
patchright-cli open https://example.com # launch browser + navigate
patchright-cli snapshot # get element refs
# read the snapshot YAML to find the right ref, then:
patchright-cli click e5 # interact by ref
patchright-cli fill e3 "search query" # type into an input
patchright-cli press Enter # press a key
patchright-cli screenshot # capture the page
patchright-cli close # done
Every interaction follows: open -> snapshot -> read refs -> interact -> snapshot again -> repeat. Refs are ephemeral -- they change on every page update. If a ref fails, re-snapshot.