wait

open suspend override fun wait(timeout: Long): Browser

Waits for the specified time in seconds.

This function suspends the coroutine for the given number of seconds. It can be used to introduce delays in the execution flow, similar to delay().

Return

The current Browser instance for chaining.

Parameters

timeout

The number of milliseconds to wait. Defaults to 1 second.