Skip to main content

WaitUntilHistory

The different stages of the browser's loading process

enum WaitUntilHistory {
commit
domContentLoaded
load
networkIdle
}

Values

WaitUntilHistory.commit

Fired when network response is received and the document started loading

WaitUntilHistory.domContentLoaded

Fired when the DOMContentLoaded event is fired

WaitUntilHistory.load

Fired when the 'load' event occurs

WaitUntilHistory.networkIdle

Use with caution: Fired when there are no network connections for at least 500 ms

Member Of

back mutation ● content mutation ● forward mutation ● reload mutation