Install
openclaw skills install browser-gemini-searchSearch the web using Google Gemini via OpenClaw-controlled Chrome with remote debugging enabled and an approved user profile.
openclaw skills install browser-gemini-searchUse OpenClaw's browser tool to control the user's Chrome and search Gemini.
Ensure browser is connected
browser(action="start", profile="user", target="host")attachOnly error or timeout: Chrome is not running with debugging port
& "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222Find or open Gemini tab
browser(action="tabs", profile="user", target="host") to list open tabsgemini.google.com)browser(action="focus", targetId="<id>", profile="user", target="host")browser(action="navigate", url="https://gemini.google.com", target="host")Wait for page load
browser(action="snapshot", profile="user", target="host") to verify page is readytextbox with placeholder like "Ask Gemini" or "输入双子座的提示")Type the search query
browser(action="act", kind="type", ref="<textbox_ref>", text="<user's search query>", profile="user", target="host")browser(action="act", kind="click", ref="<send_button_ref>", profile="user", target="host") to sendRead Gemini's response
browser(action="snapshot", profile="user", target="host") to read the answer# Step 1: connect
browser(action="start", profile="user", target="host")
# Step 2: find tab or navigate
browser(action="tabs", profile="user", target="host")
browser(action="focus", targetId="11", profile="user", target="host") # if found
browser(action="navigate", url="https://gemini.google.com", target="host") # if not found
# Step 3 & 4: type and send
browser(action="act", kind="type", ref="1_1236", text="search query here", profile="user", target="host")
browser(action="act", kind="click", ref="2_2", profile="user", target="host") # send button
# Step 5: read response
browser(action="snapshot", profile="user", target="host")
--remote-debugging-port=9222.browser.ssrfPolicy.hostnameAllowlist in openclaw.json. Add if missing: *.google.comtargetId from tabs output