Web & Browser
Gee-Code can access the web, search for information, and automate browsers — both headless browsers for automation and Chrome DevTools for debugging running apps.
Web Fetching
Section titled “Web Fetching”WebFetch
Section titled “WebFetch”Fetch and process content from any URL:
WebFetch(url="https://docs.python.org/3/library/asyncio.html", prompt="Summarize the key concepts")- Converts HTML to markdown for clean processing
- Uses an AI model to extract the information you need
- 15-minute cache for repeated access to the same URL
- Follows redirects automatically
WebSearch
Section titled “WebSearch”Search the web for information:
WebSearch(query="python async best practices 2026")If WebSearch isn’t configured locally, use the Gee backend:
GeeConnect(service="search", action="web", params={"query": "python async patterns"})Browser Automation (AgentBrowser)
Section titled “Browser Automation (AgentBrowser)”The AgentBrowser is a headless Playwright-based browser for automating web interactions.
Workflow
Section titled “Workflow”- Open a page
- Snapshot to get element references
- Interact using those references
AgentBrowser(command="open https://example.com")AgentBrowser(command="snapshot") # Returns @e1, @e2, etc.AgentBrowser(command="fill @e3 \"user@email.com\"")AgentBrowser(command="click @e5")AgentBrowser(command="screenshot /tmp/result.png")Commands
Section titled “Commands”| Command | Description |
|---|---|
open <url> | Navigate to a URL |
snapshot | Get accessibility tree with element refs |
screenshot | Take a screenshot |
click <ref> | Click an element |
fill <ref> <text> | Fill an input field |
type <ref> <text> | Type into an element (appends) |
scroll up/down | Scroll the page |
press <key> | Press a keyboard key |
wait | Wait for a condition |
close | Close the browser |
Use Cases
Section titled “Use Cases”- Filling out web forms
- Automating repetitive web tasks
- Testing web applications
- Scraping dynamic content
- Taking visual snapshots of pages
DevBrowser (Chrome DevTools)
Section titled “DevBrowser (Chrome DevTools)”Connect to a running Chrome instance to debug web applications in real time.
Start Chrome with remote debugging enabled:
DevBrowserStartChrome(url="http://localhost:3000")DevBrowserConnect()This launches a separate Chrome profile (doesn’t affect your normal browser).
Debugging Tools
Section titled “Debugging Tools”| Tool | Description |
|---|---|
DevBrowserConsole | Read console logs, warnings, and errors |
DevBrowserDom | Inspect DOM structure by CSS selector |
DevBrowserEval | Execute JavaScript in the page context |
DevBrowserScreenshot | Capture page or element screenshots |
DevBrowserNetwork | Monitor network requests and responses |
DevBrowserClick | Click elements by CSS selector |
DevBrowserFill | Fill inputs (triggers React/Vue/Angular events) |
DevBrowserReload | Reload the page |
Typical Workflow
Section titled “Typical Workflow”- Start your dev server:
npm run dev - Launch debug Chrome:
DevBrowserStartChrome(url="http://localhost:3000") - Connect:
DevBrowserConnect() - Check console:
DevBrowserConsole()— see errors and warnings - Inspect DOM:
DevBrowserDom(selector=".error-banner") - Fix code: Edit the source files
- Reload:
DevBrowserReload() - Verify:
DevBrowserScreenshot()
This lets the AI debug visual issues, runtime errors, and API failures by actually looking at your running app.
Next Steps
Section titled “Next Steps”- Communication — notifications, email, server services, and capability gap handling
- Media Generation — image and video creation
- Code & Files — file operations deep dive
- Tools Overview — the complete tool list