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 從公開儲存庫中收錄這些內容。

檢舉或申請下架