Steel is an open-source browser API that lets you control fleets of browsers in the cloud.
Since Val Town can’t run browsers locally, Steel provides a way to run browser automation tools like Puppeteer and Playwright by connecting to remote browsers hosted on Steel’s infrastructure.
Quick start with Puppeteer
Section titled “Quick start with Puppeteer”The quickest way to get started with Puppeteer is to get your Steel API key and remix this val.
- Remix this Steel Puppeteer val
- Get your free Steel API key
- Add it to your Environment Variables (via left sidebar of your val) as
STEEL_API_KEY
- Click
Run
on themain.tsx
file - View the output in the logs
Quick start with Playwright
Section titled “Quick start with Playwright”You can also use Playwright with Steel on Val Town.
Similar to the setup instructions above:
- Remix this Steel Playwright val
- Get your free Steel API key
- Add it to your Environment Variables (via left sidebar of your val) as
STEEL_API_KEY
- Set
TMPDIR
to/tmp
in your Environment Variables to avoid warnings - Click
Run
on themain.ts
file - View the output in the logs