Automatic Caching
Caching is enabled automatically with zero configuration. The cache key is computed from:- File hash: SHA-256 hash of the test file contents
- Selector prompt: The exact text description passed to
find() - Screenshot context: Perceptual hash of the current screen state
- Platform: Operating system and browser version
Managing the Cache
You can clear the cache within the TestDriver console. There, you’ll also find previews of cached elements, the input prompts, as well as analytics on cache hit rates.TestDriver Cache
Manage and clear your test cache from the TestDriver console.
Debugging Cache Hits and Misses
You can track cache performance in your tests:Configuring the Cache
You can configure cache behavior globally when initializing TestDriver:find() call:

