DOM_CONTENT_LOADED
or NETWORK_IDLE
.
Example: waitForLoadState(state: NETWORK_IDLE)
Returns true if the load state was reached within the timeout.
Definition
Arguments
state
LoadState!
The load state to wait for. See the LoadState enum for available values.
options
TimeoutOptions
Options for waiting, such as timeout.
Returns
Boolean! TheBoolean
scalar type represents true
or false
.