This release includes all changes from v7.8.0-canary.4 with version bumps.New features
- Cache API — Speed up repeated test runs with screenshot-based caching. The system compares screenshots to cached results and reuses element positions when the screen hasn’t changed, reducing AI calls.
- Custom error classes — New
ElementNotFoundErrorandAIErrorclasses with rich debugging info including screenshot paths, pixel diffs, and detailed messages. - Events system — Listen to SDK lifecycle events with wildcard support via
testdriver.emitter. Uses colon-delimited namespaces (e.g.,command:start,log:*). - Provision API — Launch browsers, desktop apps, VS Code, and Chrome extensions in your sandbox before tests run. Access via
testdriver.provision.*. - Redraw detection — Wait for screens to stabilize after interactions using two-phase detection with pixel comparison and z-score analysis.
- Screenshots API — Capture screenshots manually with
testdriver.screenshot()or automatically before/after every command.
- Exec output — Capture and use output from PowerShell commands
- Exec PowerShell — Generate dynamic data with PowerShell
- Focus window — Switch focus between application windows
- Improved console URL mapping for canary and test environments
- Enhanced Ably channel cleanup for better resource management
- Updated release workflow with improved changelog generation
This release promotes v7.5.25 to stable with deployment channel improvements.Features
- Deployment channels — SDK now supports stable and canary release channels. Stable releases use the
latestnpm tag, while canary releases use thecanarytag. Install canary withnpm install testdriverai@canary.
- Improved cache hit debugging and logging
- Enhanced element location reliability
- Better error handling during test execution
- Fixed restart behavior during auto-updates
- Fixed console URL routing for various environments
This release includes changes from v7.5.17 through v7.5.25. See v7.8.0-canary.5 for upcoming features on the canary channel.
Bug fixes
- Fixed restart update behavior
Improvements
- Disabled auto-update restart to improve CI stability
Improvements
- Added markdown-to-HTML rendering for marketing content
Improvements
- Enhanced debugging output for cache hits
- Improved element location reliability
Improvements
- Improved codespace scaling and development environment setup
- Updated VS Code extension version

