MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / press

Method press

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

* Inserts an action to press a mouse button at the mouse's current location. * * @param {!Button=} button The button to press; defaults to `LEFT`. * @return {!Actions} a self reference.

(button = Button.LEFT)

Source from the content-addressed store, hash-verified

824 * @return {!Actions} a self reference.
825 */
826 press(button = Button.LEFT) {
827 return this.insert(this.mouse_, this.mouse_.press(button))
828 }
829
830 /**
831 * Inserts an action to release a mouse button at the mouse's current

Callers 2

clickMethod · 0.95
contextClickMethod · 0.95

Calls 2

insertMethod · 0.95
pressMethod · 0.45

Tested by

no test coverage detected