← Files BugBugARCHIVED FILE
skills/bugbug-steps-authoring/steps/scroll.md
1.02 KB · Dec 3, 2026 · 18:22 UTC
# scroll ## Description Scroll the page or target element. Common payload fields are documented in [Common step fields](_common-fields.md). ## Required Fields | Field | Type | Description | | --- | --- | --- | | `scrollInside` | `"window" \| "element"` | Whether to scroll inside the window or target element. | | `scrollTo` | `"coords" \| "edge" \| "untilNextStepElementIsVisible" \| "elementIntoView"` | Scroll target strategy. | ## Optional Fields | Field | Type | Description | | --- | --- | --- | | `scrollDirection` | `"down" \| "up" \| "right" \| "left" \| null` | Scroll direction. | | `scrollEdge` | `"topLeft" \| "topCenter" \| "topRight" \| "middleLeft" \| "middleCenter" \| "middleRight" \| "bottomLeft" \| "bottomCenter" \| "bottomRight" \| null` | Element edge to scroll toward. | | `scrollX` | `number \| null` | Horizontal scroll coordinate. | | `scrollY` | `number \| null` | Vertical scroll coordinate. | | `selectorsPresets` | `array<object>` | Element selector presets required by element-targeting steps variants. |
SHA-256: 03937e4eb752d32682b2f21dbc0ffdefaf2ce8d7720da97906788ed5f60c1c3a