MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / mouseWheel

Function mouseWheel

test/e2e/specs/autoNumeric.e2e.spec.js:365–373  ·  view source on GitHub ↗
(deltaX, deltaY, duration = 200)

Source from the content-addressed store, hash-verified

363 * @returns {Promise<void>}
364 */
365const mouseWheel = async (deltaX, deltaY, duration = 200) => {
366 await browser.actions([
367 browser.action('wheel').scroll({
368 deltaX,
369 deltaY,
370 duration,
371 }),
372 ]);
373};
374
375/**
376 * Sets the {start, end} positions of the caret for the given input

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected