Skip to main content
Waiting tools help you handle timing in your tests. Instead of using arbitrary sleep times, QAbyAI’s intelligent waiting tools know when your application is actually ready.

Wait for AI Condition ✨

Wait for conditions described in natural language - the most intelligent waiting tool. Configuration:
  • until (required): Condition to wait for in natural language
  • timeout (required): Maximum seconds to wait for condition

Wait for URL

Wait until the browser navigates to a URL matching a specific pattern. Configuration:
  • urlRegex (required): Regular expression to match URL
  • timeout (required): Maximum seconds to wait for URL

Wait ⚠️

Simple time-based waiting for specific durations - not recommended. Configuration:
  • time (required): Seconds to wait

Why AI-Powered Waiting?

Traditional tests fail because they either:
  • Wait too little - Acting before the app is ready
  • Wait too much - Wasting time with unnecessary delays
QAbyAI’s AI waiting tools:
  • Understand visual cues - Know when loading is complete
  • Adapt to performance - Wait exactly as long as needed
  • Handle edge cases - Work across different environments and load conditions
  • Reduce flakiness - Tests pass consistently regardless of timing variations
Smart Timing Examples: Instead of guessing timing:
❌ Wait 5 seconds  # Might be too long or too short
✅ Wait until the loading spinner disappears
For dynamic content:
❌ Wait 10 seconds  # Page might load faster or slower
✅ Wait until the product list loads
For API responses:
❌ Wait 3 seconds  # API might be slow
✅ Wait until the user data appears
Perfect timing, every time - without the guesswork.
I