PrompteryxBeta
    ⌘K
    PlatformSupport
    Menu
    IntroductionInstall Desktop & extensionQuick StartPlatform Overview
    OverviewWhat you can makeAI Browser Agent in the chatModels and AutoConnectorsSchedulesProjectsExplore and publishingShare linksMemory and SkillsPersonal agent (beta)Welcome, settings and skinsPlans, credits and top-upsPrompteryx DesktopGroups (pilot)Phone app (early access)
    OverviewCreating WorkflowsTesting & DebuggingScheduling
    OverviewGetting StartedCommandsRecordingSettingsStructured OutputParallel AgentsTips & Best Practices
    OverviewInstallationSidebar AgentUsing Attached FilesExecute on Current TabExporting to Visual Studio
    Overview
    OverviewOpen PageClickClick CoordinatesFillExtract TextScreenshotWaitPress KeyFocus ElementBlur ElementSelect TextHighlight ElementSet ViewportGet Bounding BoxScrollHoverSelect OptionAssertionsCookiesEvaluate JavaScriptExample Workflows
    OverviewPrompteryx Browser AgentOpenAI
    OverviewSchedule TriggerWebhook Trigger
    OverviewGoogle SheetsGoogle CalendarConnect Hub (3,000+ apps)Example Workflows
    AI Vision SettingsChrome Automation ProfilesCloud BrowserBrowser Profiles & Persistent ContextVideo RecordingExecution LogsSharing & CollaborationEdit History
    Selectors GuideVariables
    Start hereGet an API keyRun the AI browser agentDrive a cloud browserRun workflows from anywhereUse connected apps (Connect Hub)SDK (TypeScript)CLIMCP for AI assistants
    REST APIWebhooksMCP toolsCloud Browser APICloud Browser quickstartMigrate from Browserbasen8nZapierMake.com

    Need help? Contact Support

    1. Documentation
    2. Nodes
    3. Browser Actions
    4. Scroll

    Scroll Nodes

    Browser Node

    Scroll the page or elements into view

    Overview

    Scroll nodes help you navigate pages and bring elements into the visible viewport. There are several scroll-related nodes depending on your needs.

    Scroll to Element

    Scrolls the page until a specific element is visible in the viewport.

    Parameters
    Configuration options for this node
    Element Selector
    Selector
    Required

    The element to scroll into view

    Example: #target-section, .footer, getByText('Load More')

    Mouse Wheel Scroll

    Simulates mouse wheel scrolling by a set number of pixels. Useful for infinite scroll pages or elements with custom scroll behavior.

    Parameters
    Configuration options for this node
    Element to Hover
    Selector

    Element to position the mouse over before scrolling. Leave empty to scroll at the current position.

    Example: .results-panel
    Horizontal Scroll (deltaX)
    Number

    Pixels to scroll horizontally (negative = left, positive = right)

    Default: 0
    Vertical Scroll (deltaY)
    Number

    Pixels to scroll vertically (negative = up, positive = down)

    Default: 100

    When to Use

    Scroll to Element
    • Before clicking/interacting with off-screen elements
    • To trigger lazy-loaded content
    • To ensure screenshots capture the right section
    Mouse Wheel Scroll
    • Infinite scroll pages (LinkedIn, Twitter feeds)
    • Custom scrollable containers
    • Pages that load more content on scroll

    Usage Examples

    Example 1: Scroll to Footer
    Bring footer into view before clicking

    Workflow sequence:

    1. Scroll to Element: footer
    2. Click: footer a[href="/contact"]
    Example 2: Load Infinite Scroll
    Scroll multiple times to load more content

    Workflow pattern (in a loop):

    1. Mouse Wheel Scroll: Vertical Scroll (deltaY) = 800
    2. Wait: 1000ms (for content to load)
    3. Extract items from page
    4. Repeat until desired count
    Example 3: Lazy Load Images
    Scroll to trigger lazy image loading

    Workflow sequence:

    1. Scroll to Element: .image-gallery
    2. Wait: 500ms (for images to load)
    3. Screenshot Element: .image-gallery

    Best Practices

    Add Wait After Scroll
    Many pages load content dynamically after scrolling. Add a short wait or Wait for Element after scrolling to ensure content is fully loaded.
    Click Often Scrolls Automatically
    The Click node usually scrolls elements into view automatically. You only need explicit Scroll to Element for screenshots or special cases.

    Related Documentation

    Click Node

    Auto-scrolls to elements

    Wait Nodes

    Wait for content to load

    Screenshot Node

    Capture after scrolling

    Apply to Each Loop

    Repeat scroll operations