Use OpenClaw's browser tool to control the user's Chrome and search Gemini.
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=9222browser(action="tabs", profile="user", target="host") to list open tabsgemini.google.com)browser(action="focus", targetId="", profile="user", target="host") browser(action="navigate", url="https://gemini.google.com", target="host")browser(action="snapshot", profile="user", target="host") to verify page is readytextbox with placeholder like "Ask Gemini" or "输入双子座的提示")browser(action="act", kind="type", ref="", text="", profile="user", target="host") browser(action="act", kind="click", ref="", profile="user", target="host") to sendbrowser(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共 1 个版本