Skip to main content

WaitUntilGoto

Options for when to consider the page has loaded and proceed with further execution

enum WaitUntilGoto {
domContentLoaded
load
commit
firstMeaningfulPaint
firstContentfulPaint
interactiveTime
networkIdle
}

Values

WaitUntilGoto.domContentLoaded

Fired when the DOMContentLoaded event is fired

WaitUntilGoto.load

Fired when the 'load' event occurs

WaitUntilGoto.commit

Fired when network response is received and the document started loading

WaitUntilGoto.firstMeaningfulPaint

Indicates when the primary content of a page is visible to the user

WaitUntilGoto.firstContentfulPaint

The render time of the largest image or text block visible in the viewport, relative to when the user first navigated to the page

WaitUntilGoto.interactiveTime

Use with caution: Chrome's best guess as to when the page becomes interactable

WaitUntilGoto.networkIdle

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

Member Of

goto mutation ● waitForNavigation mutation