Appearance
VM Code SDK v2 / WaitUntilOption
Type alias: WaitUntilOption
WaitUntilOption:
object
Type declaration
waitUntil?
optionalwaitUntil:"load"|"domcontentloaded"|"networkidle"|"commit"
When to consider operation succeeded, defaults to load. Events can be either:
'domcontentloaded'- consider operation to be finished when theDOMContentLoadedevent is fired.'load'- consider operation to be finished when theloadevent is fired.'networkidle'- consider operation to be finished when there are no network connections for at least500ms.'commit'- consider operation to be finished when network response is received and the document started loading.