browser-rendering
Installation
SKILL.md
Browser Rendering
Cloudflare Browser Rendering provides headless Chrome instances on the global edge network for web scraping, screenshots, PDF generation, and automated testing. Choose from REST API for simple tasks or Workers Bindings (Puppeteer, Playwright, Stagehand) for advanced automation.
Choosing an Integration Method
| Method | Use Case | Complexity |
|---|---|---|
| REST API | Simple screenshots, PDFs, markdown extraction, structured data | Low - just HTTP requests |
| Puppeteer | Industry-standard Chrome automation, porting existing scripts | Medium - familiar API |
| Playwright | Modern cross-browser automation, AI agent integration (MCP) | Medium - developer-friendly |
| Stagehand | AI-native automation with natural language selectors | Low - resilient to site changes |
REST API Method
For simple, stateless tasks like capturing screenshots or generating PDFs without writing complex scripts.