MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isIdle

Function isIdle

javascript/selenium-webdriver/lib/input.js:1006–1008  ·  view source on GitHub ↗

* @param {!Array<!Action>} actions * @return {boolean}

(actions)

Source from the content-addressed store, hash-verified

1004 * @return {boolean}
1005 */
1006function isIdle(actions) {
1007 return actions.length === 0 || actions.every((a) => a.type === Action.Type.PAUSE && !a.duration)
1008}
1009
1010/**
1011 * Script used to compute the offset from the center of a DOM element's first

Callers 2

performMethod · 0.85
getSequencesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected