Spotted something off?Report on Discord
guides

Wait

Pause browser action execution for a specified number of seconds to allow dynamic content, animations, or cooldowns to complete.

Updated May 28, 2025

Pause the execution of browser actions for a specified amount of time β€” useful for waiting for dynamic content, animations, or cooldowns.

Command

"wait"

This action delays further execution for a defined number of seconds, giving the page time to load or content to render.

Parameters

Parameter Type Required Description
wait number Yes Number of seconds to pause execution.
when string No Define whether the wait happens beforeload or afterload. Default is afterload.
ignoreErrors boolean No Set to true to suppress any error if the wait fails and continue execution.

Example

bash12 lines

Notes

  • Give the page time to fully load before interacting with elements.
  • Wait for popups or animations to finish before scraping.
  • Introduce realistic pauses between actions to simulate human behavior.
  • Combine with click, scroll, or solve_captcha to ensure smooth flow.
  • Use when: "beforeload" if you need to delay before the page begins loading.