Gasoline passively observes your browser and collects everything an AI needs to diagnose issues.
Console Logs
All console API calls captured with full argument serialization:
| Method | Level |
|---|---|
console.error() |
error |
console.warn() |
warn |
console.log() |
info |
console.info() |
info |
console.debug() |
debug |
Objects, arrays, and Error instances are fully serialized — not just [Object object].
Network Errors
Failed API calls (4xx and 5xx) captured with:
- HTTP method and URL
- Response status code
- Response body (the actual error payload)
- Request duration (ms)
Your AI sees why the API call failed, not just that it failed.
Exceptions
Uncaught errors and unhandled promise rejections with:
- Error message
- Full stack trace
- Source file, line, and column
- Source map resolution (minified → original)
WebSocket Events
- Connection lifecycle (open, close, error)
- Message payloads (sent and received)
- Adaptive sampling for high-frequency streams
- Per-connection rates and schemas
Network Bodies
- Request payloads (POST/PUT/PATCH)
- Response payloads for debugging
- On-demand — doesn’t record everything
User Actions
Recent interactions buffered and attached to errors:
- Click events with element selectors
- Input events (values redacted by default)
- Scroll events (throttled)
- Multi-strategy selectors (data-testid > aria > role > CSS path)
Screenshots
Auto-captured on error as JPEG:
- Rate limited: 5s between captures, 10/session max
- JPEG quality 80%
- Triggered by exceptions and console errors
AI Context Enrichment
Errors enriched with framework-aware context:
- Component ancestry (React, Vue, Svelte)
- Relevant app state snapshots
- Custom annotations via
window.__gasoline.annotate()
Reproduction Scripts
User actions → runnable Playwright tests:
- Multi-strategy selectors (data-testid > aria > role > CSS)
- Click, input, scroll, keyboard, select events
- Generated via
window.__gasoline.generateScript()
Extension Controls
The popup lets you dial the heat:
| Setting | Options |
|---|---|
| Capture level | Errors Only · Warnings+ · All Logs |
| WebSocket | Lifecycle only · Include messages |
| Network waterfall | On / Off |
| Performance marks | On / Off |
| User actions | On / Off |
| Screenshot on error | On / Off |
| Source maps | On / Off |
| Domain filters | Allowlist specific sites |