browse
oleh pkiv
Coding Agents & IDEsRingkasan
Complete guide for creating and deploying browser automation functions.
Deskripsi
Apa yang Dilakukan Skill Ini
Automates web browser interactions from the CLI using the browse command. Works with a local Chrome instance by default or a remote Browserbase session when API credentials are provided. Remote mode adds automatic CAPTCHA solving, anti-bot stealth, and residential proxies for sites with bot protection.
Unlike custom headless browser scripts, it handles CAPTCHA solving and anti-bot fingerprinting automatically through remote Browserbase sessions without requiring any browser driver setup.
Kapan Menggunakannya
- Scraping prices from sites with bot detection or Cloudflare protection
- Filling and submitting web forms on external sites
- Extracting data from JavaScript-rendered dashboards
- Taking page screenshots for visual regression or documentation
- Automating login flows and session-based web interactions
Contoh Alur Kerja
User asks: Get the current stock price from a financial site that blocks scrapers
- 1
Switches to remote mode with
browse env remoteto enable stealth and CAPTCHA handling - 2
Opens the target page with
browse open <url> - 3
Runs
browse snapshotto read the accessibility tree and locate the price element ref - 4
Extracts the price text with
browse get text <selector> - 5
Stops the session with
browse stop
Stock price text extracted from the bot-protected page
Persyaratan
- BROWSERBASE_API_KEY environment variable
- BROWSERBASE_PROJECT_ID environment variable
- Browserbase account at browserbase.com/settings
Instalasi
clawhub install pkiv/browseJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.