Automatic Provisioning
Every test gets its own fresh sandbox environment:No setup required - sandboxes are created on-demand and destroyed after each test.
What’s Included
Each sandbox comes pre-configured with everything you need:Operating Systems
- Ubuntu Linux (default)
- Windows 10/11
- macOS (coming soon)
Browsers
- Google Chrome
- Chromium
- Firefox (beta)
- Edge (beta)
Desktop Apps
- Any Linux application
- Windows applications
- Electron apps
Development Tools
- VS Code
- Node.js
- Python
- Common dev dependencies
Sandbox Configuration
Customize sandbox settings per test:- Operating System
- Screen Size
- Browser Options
- Timeout Settings
Persistent Sandboxes
Keep a sandbox alive across multiple tests for faster execution:Sandbox Lifecycle
Understanding how sandboxes are managed:1
Provisioning
When you call a preset (e.g.,
chrome()), TestDriver:- Allocates a cloud VM
- Installs the OS and browser
- Configures network and display
- Returns ready-to-use testdriver instance
2
Active Testing
Your test runs in the isolated environment:
- Full browser/desktop control
- Network access
- File system access
- Video recording (Dashcam)
3
Cleanup
After the test completes:
- Dashcam replay saved
- Screenshots captured
- Sandbox terminated
- Resources released
Reconnect to Sandboxes
Debug failed tests by reconnecting to existing sandboxes:Debugging Guide
Complete guide to debugging with sandbox reconnection
Network Isolation
Each sandbox is network-isolated by default:Network isolation prevents test interference and ensures consistent results across runs.
Resource Limits
Understanding sandbox constraints:CPU & Memory
CPU & Memory
- CPU: 2 vCPUs per sandbox
- Memory: 4GB RAM
- Disk: 20GB storage
Network Bandwidth
Network Bandwidth
- Speed: 100 Mbps connection
- Timeout: 30s per network request
- Proxies: Supported via environment variables
Time Limits
Time Limits
- Default: 2 minutes per test
- Maximum: 30 minutes (configurable)
- Idle timeout: 5 minutes of inactivity
timeout option in preset configuration.Concurrent Sandboxes
Concurrent Sandboxes
- Free tier: 2 concurrent sandboxes
- Pro tier: 10 concurrent sandboxes
- Enterprise: Unlimited concurrent sandboxes
Cost & Billing
Sandboxes are billed based on usage:Pricing Model
Sandbox time: Charged per minute of VM runtime
- Provisioning: ~10 seconds (included)
- Active testing: Pay per minute
- Cleanup: Automatic (included)
- 1-minute test: $0.02
- 5-minute test: $0.10
- 100 tests @ 2min each: $4.00
- Use persistent sandboxes for test suites
- Enable caching to reduce test duration
- Run tests in parallel to maximize efficiency
Self-Hosted Sandboxes
For enterprise customers who need on-premise infrastructure:docker-compose.yml
Self-Hosting Guide
Complete guide to running TestDriver on your own infrastructure

