This function has multiple overloads
Navigates to a specified URL with enhanced reliability features including automatic retries with exponential backoff,
intelligent timeout handling, and optional AI-powered loading verification.This function handles common navigation challenges by automatically retrying failed requests, detecting navigation hangs, and ensuring the page reaches a truly idle state.Use this overload for standard navigation without AI-powered loading detection.Examples
Arguments
The Playwright Page object to navigate.
Maximum navigation time in seconds. Defaults to 30.
Number of retry attempts with exponential backoff (factor: 2). Defaults to 3.
wait_for_load_state
Literal['load', 'domcontentloaded', 'networkidle', 'commit']
When to consider navigation succeeded. Defaults to “load”.
Whether to raise an error on navigation timeout. When False, the function
returns without throwing, allowing continued execution. Defaults to False.
Set to False to disable AI-powered loading checks. Defaults to False.
Navigates to a specified URL with enhanced reliability features including automatic retries with exponential backoff,
intelligent timeout handling, and optional AI-powered loading verification.This function handles common navigation challenges by automatically retrying failed requests, detecting navigation hangs, and ensuring the page reaches a truly idle state.Use this overload when you need AI vision to verify the page is fully loaded by checking for loading spinners, blank content, or incomplete states.Examples
Arguments
The Playwright Page object to navigate.
Maximum navigation time in seconds. Defaults to 30.
Number of retry attempts with exponential backoff (factor: 2). Defaults to 3.
wait_for_load_state
Literal['load', 'domcontentloaded', 'networkidle', 'commit']
When to consider navigation succeeded. Defaults to “load”.
Whether to raise an error on navigation timeout. When False, the function
returns without throwing, allowing continued execution. Defaults to False.
Must be set to True to use this AI-powered overload. When true, uses AI vision
to verify the page is fully loaded by checking for loading spinners, blank
content, or incomplete states. Retries up to 3 times with 5-second delays.
Check is_page_loaded for more details on
the AI loading verification. AI model to use for loading verification. Defaults to “gpt-5-mini-2025-08-07”.
Optional API key for the AI check. Defaults to None.
Returns: None
Function completes when navigation is finished or fails after retries.