Overview
Linux is the default platform for TestDriver sandboxes. All tests run on Ubuntu 22.04 unless otherwise specified. Linux sandboxes provide:- Fast startup times (20-60s)
- Full desktop environment (XFCE)
- Chrome, Firefox, and other browsers pre-installed
- Support for all TestDriver commands
- VNC access for debugging
Usage
Linux is used automatically when you create a TestDriver instance:System Details
Operating System
- Distribution: Ubuntu 22.04 LTS
- Desktop Environment: XFCE
- Architecture: x86_64 (amd64)
Pre-installed Software
- Browsers: Chrome, Firefox ESR, Chrome for Testing
- Languages: Node.js 20, Python 3, build-essential (C/C++)
- Development: VS Code, Git, vim, nano
- Office: LibreOffice, Gnumeric
- Graphics: ImageMagick, xpaint, scrot, gnome-screenshot
- Utilities: xterm, xdotool, gedit, xpdf, pcmanfm (file manager), galculator
- Desktop: XFCE4 desktop environment, tint2 panel
- Tools: curl, wget, unzip, net-tools, netcat, jumpapp
- Multimedia: FFmpeg
- TestDriver: Dashcam (v1.4.11-beta.0), dashcam-chrome
Default Resolution
- 1366x768 (configurable via
resolutionparameter)
Configuration
Custom Resolution
Set a custom screen resolution:1366x768- Default1920x1080- Full HD1280x720- HD2560x1440- 2K3840x2160- 4K
Environment Variables
Set environment variables in the sandbox:Common Use Cases
Web Application Testing
Test web apps in Chrome or Firefox:Desktop Application Testing
Test Electron or other desktop apps:Command-Line Tools
Run shell commands in the sandbox:Package Management
APT (Debian/Ubuntu)
Install system packages:NPM/Node.js
Install Node.js packages:Python/Pip
Install Python packages:Debugging
VNC Access
Connect to sandbox desktop via VNC:Screenshots
Take screenshots for debugging:Logs
Access sandbox logs:Performance
Startup Time
- First test: 20-60s (sandbox creation)
- Subsequent tests: 0s (sandbox reuse)
Optimization Tips
- Reuse sandboxes across tests (use context)
- Enable caching for faster element finding
- Use parallel test execution
- Minimize package installations
Limitations
No Root Access
Sandboxes run with limited privileges. Some operations requiring root may fail. Workaround: Usesudo for commands that need elevation (already configured).

