JajaH4rem/ai-browser-fetch: Playwright-based web fetcher for AI agents that can't handle JS-rendered pages
A drop-in browser fetch for AI agents.
The problem it solves
Normal fetch
curl https://example.com
ā Please enable JavaScript
ai-browser-fetch
node fetch.js https://example.com
ā Actual rendered page content
Why this exists
HTTP fetch works fine for static sites. But modern websites increasingly require JavaScript execution, browser APIs, or anti-bot handling before meaningful content appears.
AI agents ā Claude Code, Cursor, Cline, Roo Code, OpenHands, Codex, Gemini CLI, OpenAI Agents ā all eventually hit pages where their built-in fetch tool returns nothing useful.
ai-browser-fetch is the fallback. One command. Predictable output. The agent doesn't think about Playwright.