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

Method move

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

* Creates an action for moving the pointer `x` and `y` pixels from the * specified `origin`. The `origin` may be defined as the pointer's * plain Origin.POINTER current position, the * plain Origin.VIEWPORT viewport, or the center of a specific * {@linkplain ./webdriver.Web

({
    x = 0,
    y = 0,
    duration = 100,
    origin = Origin.VIEWPORT,
    width = 0,
    height = 0,
    pressure = 0,
    tangentialPressure = 0,
    tiltX = 0,
    tiltY = 0,
    twist = 0,
    altitudeAngle = 0,
    azimuthAngle = 0,
  })

Source from the content-addressed store, hash-verified

409 * @package
410 */
411 move({
412 x = 0,
413 y = 0,
414 duration = 100,
415 origin = Origin.VIEWPORT,
416 width = 0,
417 height = 0,
418 pressure = 0,
419 tangentialPressure = 0,
420 tiltX = 0,
421 tiltY = 0,
422 twist = 0,
423 altitudeAngle = 0,
424 azimuthAngle = 0,
425 }) {
426 return {
427 type: Action.Type.POINTER_MOVE,
428 origin,
429 duration,
430 x,
431 y,
432 width,
433 height,
434 pressure,
435 tangentialPressure,
436 tiltX,
437 tiltY,
438 twist,
439 altitudeAngle,
440 azimuthAngle,
441 }
442 }
443}
444
445/**

Callers 11

action.jsFile · 0.45
moveToFunction · 0.45
moveMethod · 0.45
actions_test.jsFile · 0.45
input_test.jsFile · 0.45
webdriver_test.jsFile · 0.45
inputs.jsFile · 0.45
relocateVideoFilesMethod · 0.45
saveToFileSafelyMethod · 0.45
tFunction · 0.45
tinymce.min.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected