Skip to main content

Scroll Into View

Scrolls a list / grid item into the visible viewport via the UIA ScrollItemPattern (Windows only). Useful before clicking an item that lives far off-screen.

Category: Desktop Application Automation · Group: Desktop · Activity name: DesktopScrollIntoView

The DesktopScrollIntoView activity in the designer

Example

DesktopScrollIntoView("<xPath>", checkOrphanedElements=False)

Inputs

NameTypeRequiredDefaultDescription
XPathstringYesXPath expression that identifies the target element.
Check orphaned elementsbooleanFalseWhen the element is not found by its XPath, scan the parent window's area for elements detached from the UI Automation tree. Slower; enable only for windows known to orphan their elements.