Google Search Browser Use

grasseed/google-search-browser-use/skills/google-search-browser-use

作者 grasseedd456459f53cb无许可证3 个星标收录于 2026年10月8日更新于 2026年10月8日仓库8个月前更新

Use browser-use to perform Google searches, open results, and extract key information from live pages. Use when the user asks to "search Google", "look this up on Google", or needs current web results via a real browser session (often to avoid bot blocks).

AI 生成的概览

通过 browser-use 在真实浏览器会话中执行 Google 搜索、打开结果并提取页面内容。

功能
该技能指导智能体使用 browser-use 命令行工具以真实浏览器模式执行 Google 搜索,复用用户已有的浏览器会话以减少验证码。流程包括检查或安装 browser-use、打开搜索链接、查看页面状态、按索引点击结果,并将内容提取或总结为带来源引用的简短要点列表。它还提供基于 curl 的文本提取服务作为备用方案,并在结束时关闭浏览器会话。
适用场景
适用于用户要求搜索 Google、在 Google 上查询资料,或需要通过真实浏览器会话获取最新网页结果的场景。也适合普通抓取遇到机器人拦截或验证码的情况。
运行要求
需要 browser-use 命令行工具(可通过 pip 安装)、Python 3、真实浏览器会话,以及访问 Google 的网络连接。备用方案使用 curl 和外部文本提取服务。该技能不附带脚本,仅为操作说明。

Google Search Browser Use

Overview

Run Google searches with browser-use (prefer real browser mode), open results, and extract the relevant snippets or page content. This skill leverages the user's existing browser session to reduce CAPTCHAs.

Prerequisites

Before running the search, ensure the environment is ready:

  1. Check Installation: Verify if browser-use is available in the current PATH.

    bash
    which browser-use
  2. Install if Missing: If not found, install it using pip.

    bash
    python3 -m pip install --user browser-use
  3. Locate Binary: If the command is still not found after installation, it is likely in the user's local bin directory. Retrieve the path dynamically:

    bash
    python3 -m site --user-base# The binary is typically at <USER_BASE>/bin/browser-use

Workflow

1) Launch a Google search (Real Browser Mode)

Use the real browser to reuse the user’s logged-in session.

Option A: Standard Execution

bash
browser-use --browser real open "https://www.google.com/search?q=YOUR+QUERY"

Option B: Explicit Path Execution If Option A fails (command not found), use the full path found in Prerequisites:

bash
# Example (adjust based on 'python3 -m site --user-base' output):${HOME}/Library/Python/3.14/bin/browser-use --browser real open "https://www.google.com/search?q=YOUR+QUERY"

(Note: Replace 3.14 with your current Python version if different)

2) Inspect results and parse

Once the browser is open:

bash
# Check current page statebrowser-use --browser real state
# Click on a search result (use index from state output)browser-use --browser real click <index>

3) Extract or Summarize

  • Goal: Provide a short summary (3-6 bullets) with source citations.
  • Fallback: If browser-use struggles with parsing, use curl with Jina AI for a text-friendly version:
    bash
    curl -L "https://r.jina.ai/https://example.com"

4) Close the Session

bash
browser-use close

Troubleshooting

  • CAPTCHAs: If encountered, solve them manually in the open browser window.
  • Path Issues: If browser-use cannot be called directly, always prefer finding the path via python3 -m site --user-base rather than guessing.
  • Connection: Ensure no VPN/Proxy is blocking Google results if timeouts occur.

来源与署名

来源:grasseed/google-search-browser-use位于skills/google-search-browser-use提交d456459

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架