* next.js guide
* better
* shadcn
* fixes
* fix: correct screenshot test assertion to check path instead of base64
The daemon returns { path: savePath } for screenshot commands, not base64.
* fix: cross-platform Chrome detection and gitignore hardening
- Replace hardcoded macOS Chrome path with findLocalChrome() that
searches common paths on macOS, Linux, and WSL, with a clear error
message when no Chrome is found.
- Add .env and .env*.local to .gitignore to prevent accidental
secret commits.
* fix: correct Vercel deploy button repo URL to vercel-labs/agent-browser
* clean up
* demo
* next page
---------
Co-authored-by: ctate <366502+ctate@users.noreply.github.com>
10 lines
439 B
Bash
10 lines
439 B
Bash
# --- Serverless function mode (@sparticuz/chromium) ---
|
|
# Optional: path to Chromium binary for local development.
|
|
# On Vercel, @sparticuz/chromium provides this automatically.
|
|
# CHROMIUM_PATH=/usr/bin/chromium-browser
|
|
|
|
# --- Vercel Sandbox mode ---
|
|
# Snapshot ID with agent-browser + Chromium pre-installed (optional, speeds up startup)
|
|
# Create one with: npx tsx scripts/create-snapshot.ts
|
|
# AGENT_BROWSER_SNAPSHOT_ID=snap_xxxxxxxxxxxx
|