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

Method clear

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

* Releases all keys, pointers, and clears internal state. * * @return {!Promise } a promise that will resolve when finished * clearing all action state.

()

Source from the content-addressed store, hash-verified

958 * clearing all action state.
959 */
960 clear() {
961 for (const s of this.sequences_.values()) {
962 s.length = 0
963 }
964 return this.executor_.execute(new Command(Name.CLEAR_ACTIONS))
965 }
966
967 /**
968 * Performs the configured action sequence.

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.80
executeMethod · 0.65

Tested by

no test coverage detected