Scroll
Scroll page content vertically or horizontally to trigger lazy loading, reveal hidden elements, or navigate through content.Basic Scroll
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Must be "scroll" |
direction | string | Yes | Scroll direction: down, up, left, right |
pixels | integer | No | Pixels to scroll (default: 500) |
element | string | No | CSS selector of element to scroll |
smooth | boolean | No | Smooth scrolling animation (default: false) |
Scroll Directions
Vertical Scrolling
Scroll Down
Scroll Up
Horizontal Scrolling
Scroll Right
Scroll Left
Element-Specific Scrolling
Scroll Within Container
Scroll Modal Content
Use Cases
Lazy Loading Content
Trigger lazy-loaded images and content:Social Media Feeds
Load more posts in social media feeds:Product Catalogs
Navigate through product listings:News Articles
Scroll through long-form content:Advanced Scrolling Patterns
Progressive Scrolling
Scroll in increments to mimic human behavior:Scroll and Extract
Scroll to reveal content, then extract data:Horizontal Carousel Navigation
Navigate through image carousels or sliders:Smooth Scrolling
Natural Scrolling Animation
Benefits of Smooth Scrolling
- More human-like behavior
- Triggers animations that depend on scroll events
- Better for sites with scroll-based interactions
- Mimics real user scrolling patterns
Performance Considerations
Optimal Scroll Distances
Wait After Scrolling
Always add delays after scrolling to allow content to load:Error Handling
Element Not Scrollable
Invalid Direction
Combining with Other Actions
Scroll + Click Pattern
Multiple Scroll Points
Best Practices
Realistic Scrolling
- Use human-like distances (300-1500 pixels)
- Add delays between scrolls (1-3 seconds)
- Vary scroll distances for natural patterns
- Use smooth scrolling when appropriate
Content Loading
- Wait for content to load after scrolling
- Check for loading indicators before proceeding
- Allow time for lazy loading to trigger
- Verify new content appeared before continuing
Performance
- Minimize excessive scrolling to reduce request time
- Use efficient scroll distances to reach target content
- Combine with other actions for complex workflows
- Monitor total request timeout with multiple scrolls
SDK Examples
Node.js
Python
Related Actions
- Scroll To - Scroll to specific elements
- Infinite Scrolling - Automated infinite scroll
- Wait - Add delays between actions

