Scroll
Scrolls an element into view, or the page by an offset.
Behaviour
Risk: Low · Idempotent: No · Safe to retry: Yes · Recovery: Not replayed after a crash
Package UI Automation activities VeloPhex.UIAutomation.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.ui.scroll
Windows · Needs an interactive desktop session
Properties#
Input#
Target#
Target · String · Optional · Default: Not specified in package metadata
The element to scroll into view. Empty scrolls the browser's page by Horizontal and Vertical instead.
Horizontal#
DeltaX · Int32 · Optional · Default: Not specified in package metadata
CSS pixels to scroll the page right (negative: left) when Target is empty.
Vertical#
DeltaY · Int32 · Optional · Default: Not specified in package metadata
CSS pixels to scroll the page down (negative: up) when Target is empty.
Session#
Session · String · Optional · Default: Not specified in package metadata
The session id from a Use Application/Browser scope. Empty uses the enclosing scope's session, or outside a scope the most recent matching session.
Timeout (seconds)#
TimeoutSeconds · Int32 · Optional · Default: Not specified in package metadata
How long to keep looking for the element or window. Empty or not positive means the same as the enclosing Use Application/Browser scope, or outside a scope the project default (30 seconds).
Highlight before action#
HighlightBeforeAction · Boolean · Optional · Default: Not specified in package metadata
Draw the highlight around the element before acting on it.
Options#
Target values#
TargetValues · IReadOnlyDictionary<String, String> · Optional · Default: Not specified in package metadata · Advanced
Values for the {{name}} slots in the target's attributes, e.g. a dictionary with "invoice" for {{invoice}}. Values are matched as literal text.
Rules#
- Must be inside Use Application/Browser.
Retry and risk#
This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.
Every activity also has the engine's common properties: Timeout and Continue On Error.
Related activities#
- Capture Screenshot
- Check App State
- Choose Option
- Click
- Click Text
- Drag and Drop
- Element Exists
- Extract Table Data
Generated from VeloPhex.UIAutomation.Activities 0.7.1-rc.12. Category: UI Automation › Element. Keywords: ui, automation, element.
Properties
Input
Options
Rules
Retry and risk
Related activities