bw record command.
How recording works
When you runbw record <url>, BrowserWire:
- Launches a Chrome browser via Playwright and navigates to the URL you specified.
- Waits for you to start — you can browse freely before recording begins. Press Enter to start.
- Captures DOM events — once recording starts, BrowserWire injects rrweb into the page. Every DOM mutation, scroll, click, navigation, and form interaction is captured as a structured event stream in real time.
- Follows navigations — if you click a link that opens a new tab, BrowserWire redirects it into the same page so the recording stays continuous.
- Stops on Enter — press Enter again to stop recording. BrowserWire reloads the page at the start of recording to get a clean initial snapshot.
What gets captured
| Data | Description |
|---|---|
| DOM snapshots | Full page structure at recording start, plus incremental mutations |
| User interactions | Clicks, keypresses, form fills, scrolls |
| Navigations | URL changes, page loads, SPA route transitions |
| Event metadata | Timestamps, event types, element targets |
Upload and training
After you stop recording, the CLI:- Authenticates (prompts for login if your token has expired)
- Uploads the recording events to BrowserWire’s cloud storage
- Triggers a training run automatically
- Opens the dashboard so you can monitor progress
Tips for better recordings
- Cover key paths — focus on the flows you want to automate (login, search, checkout, etc.)
- Navigate slowly — let pages fully load before interacting. The AI needs stable DOM snapshots.
- Interact with dynamic UI — open dropdowns, expand accordions, trigger modals. State changes help the AI discover more actions.
- Use a real account — if the site requires authentication, log in during the recording so the AI can see authenticated pages.
- Re-record to improve — you can record the same site multiple times. Each recording triggers a new training run that can improve or update the manifest.
Recordings are uploaded to BrowserWire’s cloud for processing. They contain DOM structure and interaction events from the sites you record. See Privacy for details.