scroll
Scroll a web page up or down by a specified number of pixels instantly, using direct JavaScript execution for non-animated movement.
Instructions
Scroll the page up or down by pixels (instant, not animated).
Uses JavaScript ``window.scrollBy`` directly. The earlier implementation
called zendriver's ``scroll_down`` which interprets its argument as a
*percentage* of the viewport and animates via
``Input.synthesizeScrollGesture`` - turning e.g. 500 into five
viewport-heights of smooth scrolling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixels | No | ||
| direction | No | down |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |