browse
bởi pkiv
Coding Agents & IDEsTóm tắt
Complete guide for creating and deploying browser automation functions.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- BROWSERBASE_API_KEY environment variable
- BROWSERBASE_PROJECT_ID environment variable
- Browserbase account at browserbase.com/settings
Cài đặt
clawhub install pkiv/browseChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.