Содержание

mouseWheel

Emulates a mouse wheel scrolling.

Syntax

mouseWheel = function(aDeltaX, aDeltaY);

Notes

  • aDeltaX
    • functions: number of pixels to scroll horizontally
  • aDeltaY
    • functions: number of pixels to scroll vertically

Examples

  1. loadURI('habrahabr.ru');
    for (var i = 0; i < 9; i++){
      mouseWheel(0,-100);
      wait(200);
    }