Vercel 官方演示了用 remote-agent-browser 在 Sandbox 里自动开网页、截图,不用装浏览器,代码就几行。
Vercel 的 Sandbox 可用于基础场景下的浏览器自动化。remote-agent-browser 提供 agent 友好的 API,调用 browser.exec('open', url) 即可打开网页,browser.screenshot() 截图。方案无需安装 Chromium 或浏览器二进制,由托管云沙箱基础设施支撑,启动速度快。作者演示了在 Vercel Sandbox 里用几行代码完成浏览器操作。
Vercel Sandbox is an excellent choice for automating web browsers in basic scenarios. The ...
Vercel Sandbox is an excellent choice for automating web browsers in basic scenarios. The 𝚛𝚎𝚖𝚘𝚝𝚎-𝚊𝚐𝚎𝚗𝚝-𝚋𝚛𝚘𝚠𝚜𝚎𝚛 API makes it delightful: 𝚋𝚛𝚘𝚠𝚜𝚎𝚛.𝚎𝚡𝚎𝚌('𝚘𝚙𝚎𝚗', 𝚞𝚛𝚕) 𝚋𝚛𝚘𝚠𝚜 remote-agent-browser.dev 𝚔') 𝚋𝚛𝚘𝚠𝚜𝚎𝚛.𝚜𝚌𝚛𝚎𝚎𝚗𝚜𝚑𝚘𝚝() 📦 https://t.co/66GIcFI1o4 Jiachi @huozhi Introducing remote-agent-browser → Agent-friendly API for controlling agent-browser → Chromium-free, no browser binary to install → Fast-booting with managed cloud sandbox infrastructure remote-agent-browser.dev Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 28 🔄 9 ❤️ 179 👀 22831 📊 49 ⚡