Platform
Step Caching
How caching works for explicit steps
Overview
Step caching optimizes test execution by remembering and reusing input selectors from previous runs. This makes subsequent test runs faster and more cost-effective when the UI elements haven’t changed.
How It Works
- First Run: The system executes the step normally and caches the input selector
- Subsequent Runs: The system uses the cached selector, skipping LLM calls
Supported Steps
Caching works only for Explicit step types that perform single actions, such as:
- Click actions
- Input text operations
Multi-step or complex actions cannot be cached, which is why caching is limited to Explicit steps that perform one discrete action at a time.
Input Text Caching
To enable caching for input text steps, wrap the text in double curly braces:
Benefits
- ⚡️ Faster test execution
- 💰 Reduced costs (fewer LLM calls)
- 🎯 More consistent element selection
Important Notes
- Caching only works when the UI elements remain unchanged
- Only single-action Explicit steps support caching
- Input text must use the
{{text}}
syntax to enable caching - Complex or multi-step actions cannot be cached