Remote Scraper Action icon

Remote Scraper Action

Execute browser automation actions on a remote scraper

Wait for Load State

AI-generated

Summary

Wait for a web page to reach a specified load state within an optional timeout period using a remote browser session.

Inputs

  • Session ID — Session ID from a previous action to continue the same browser session. Leave empty to start a new session automatically.
  • State — The page load state to wait for. Options include 'load' (full load), 'domcontentloaded' (DOM ready), and 'networkidle' (network requests idle). Defaults to 'load'.
  • Timeout — Maximum time in milliseconds to wait for the page to reach the specified load state. Defaults to 30000 (30 seconds).

Output shape

a single record

Returns an object containing a message confirming the wait status and the state reached. The output also includes the session_id to continue the remote browser session in subsequent actions.

Examples

Example 1: Use in a workflow to wait until a page fully loads after navigation before proceeding to the next action.

Specify the Session ID to continue the session, set 'State' to 'load' to wait for the full page load, and optionally adjust the 'Timeout'.

Links

Discussion