For AI agents: a documentation index is available at /llms.txt
Skip to main content

waitForNetworkIdle

Wait for the page to have no more than the configured number of in-flight network requests for a period of time.

**Field Definition:**

waitForNetworkIdle(
idleTime: Float = 500
concurrency: Int = 0
timeout: Float
): WaitForTimeout

Arguments

waitForNetworkIdle.idleTime ● Float scalar

The number of milliseconds the network must remain idle.

waitForNetworkIdle.concurrency ● Int scalar

The maximum number of in-flight requests allowed while considering the network idle.

waitForNetworkIdle.timeout ● Float scalar

The maximum amount of time, in milliseconds, to wait for network idle.

Type

WaitForTimeout object

Response returned after having waited for a selector to appear in the DOM