Pageshot
Capture Studio

Timing and Motion

Waits, delays, and animation handling.

Wait options

{
  "wait": {
    "wait_until": ["domcontentloaded", "networkidle"],
    "timeout_ms": 45000,
    "navigation_timeout_ms": 30000,
    "delay_ms": 500,
    "wait_for_selector": "#dashboard-ready",
    "wait_for_function": "window.appReady === true"
  }
}

Motion controls

  • reduce_motion enables prefers-reduced-motion
  • trigger_animations scrolls through the page once to trigger lazy animations
{
  "reduce_motion": false,
  "trigger_animations": true
}

Timeout behavior

Timeouts are clamped to zero or greater. A timeout can return navigation_timeout or timeout_error depending on where it occurs.