Local test execution
Thekeystone start command launches a local runner that can execute tests on your machine, providing full visibility into test execution and powerful debugging capabilities.
Starting the runner
Basic usage
- Visual test execution with browser UI
- Real-time step progression
- Network request capture
- Console log collection
- Screenshot generation
- Frame/screencast recording
Runner modes
Local mode (default)
- Direct connection from Keystone Studio running locally
- Browser runs on your machine with full UI
- Best for development and debugging
- Access to localhost and private networks
Proxy mode (cloud tunnel)
- Secure tunnel to cloud-based Keystone Studio
- Allows cloud recording against local environments
- Best for team collaboration and recording
- Maintains cloud test management with local execution
Headless mode
- Browser runs without UI for faster execution
- Perfect for CI/CD and automated testing
- Reduced resource usage
- Still captures screenshots and recordings
Command options
Port configuration
Debug and logging
API and backend settings
Execution capabilities
What the runner captures
Visual elements:- Screenshots before and after each action
- Full page screenshots on errors
- Element highlighting and selection
- Frame recordings of test execution
- HTTP requests and responses
- WebSocket connections
- API calls and responses
- Network timing and performance metrics
- Console logs and errors
- Local storage and session storage
- Cookies and authentication state
- Page source and DOM snapshots
- Page load times
- JavaScript execution time
- Memory usage patterns
- Resource loading metrics
Browser management
The runner automatically:- Launches Chrome/Chromium browser
- Manages browser lifecycle
- Handles browser crashes and recovery
- Cleans up browser data between tests
- Manages multiple tabs and windows
Session handling
Local development workflow
Development testing cycle
Debugging test execution
Testing different environments
Runner API endpoints
Health and status
Session management
Performance and resource management
Resource requirements
Minimum requirements:- 2GB RAM available
- 1 CPU core
- 100MB disk space for recordings
- Port 9223 available
- 4GB+ RAM for smooth execution
- 2+ CPU cores for faster test execution
- 1GB+ disk space for extensive recordings
- SSD for better I/O performance
Optimizing performance
Managing disk space
Integration with development tools
IDE integration
VS Code tasks.json:Git workflow integration
Docker integration
Monitoring and logs
Log locations
Monitoring runner health
Troubleshooting
Common issues
Port already in use:Debug mode output
- Runner initialization
- Browser launch process
- WebSocket connections
- Test execution steps
- Network requests
- Performance metrics

