Quick start with Puppeteer
- Create a free Kernel account and generate an API key from Settings → API Keys
- Remix this Kernel starter val
- Add it to your Val Town val’s Environment Variables (left sidebar) as
KERNEL_API_KEY
- Click Run on
puppeteer.ts
- View logs for output
Quick start with Playwright
Kernel also supports Playwright sessions. The steps are nearly identical:- Remix this Kernel starter val
- Add your
KERNEL_API_KEY
to Environment Variables - Set
TMPDIR
to/tmp
to avoid Playwright file-system warnings - Click Run on
playwright.ts
- Check the logs for output