跳到正文
TakoAPI
返回技能列表

browse

由 pkiv 提供

Coding Agents & IDEs
7.1k下载量由 clawskills.sh 提供
4星标
2浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Complete guide for creating and deploying browser automation functions.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Get the current stock price from a financial site that blocks scrapers

智能体
  1. 1

    Switches to remote mode with browse env remote to enable stealth and CAPTCHA handling

  2. 2

    Opens the target page with browse open <url>

  3. 3

    Runs browse snapshot to read the accessibility tree and locate the price element ref

  4. 4

    Extracts the price text with browse get text <selector>

  5. 5

    Stops the session with browse stop

输出

Stock price text extracted from the bot-protected page

前置要求

  • BROWSERBASE_API_KEY environment variable
  • BROWSERBASE_PROJECT_ID environment variable
  • Browserbase account at browserbase.com/settings

安装

clawhub install pkiv/browse

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接