Troubleshooting
This guide covers common issues and solutions when using TestivAI SDKs and services.
Table of Contents
SDK-Specific Issues
Playwright SDK
Tests hanging after witness() call
- Cause: Promise not resolving (slow page, large capture)
- Solution: Check the page finishes loading; raise the test timeout for very tall pages
"window.testivai is not defined"
- Cause: TestivAI not properly imported or test.use() not configured
- Solution: Ensure proper setup in your config file