Get Browser Data
Reads the page's cookies, local storage or session storage.
Behaviour
Risk: Low · Idempotent: Yes · 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.getBrowserData
Windows · Needs an interactive desktop session
Properties#
Input#
Data type#
DataType · String · Optional · Default: All
All reads cookies, local and session storage into Data; Cookies, LocalStorage or SessionStorage reads that one, into Items as well.
Allowed values: All, Cookies, LocalStorage, SessionStorage.
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.
Output#
Items#
Items · Dictionary<String, String> · Output
Name and value of every cookie or storage item read (empty for All).
Data#
Data · String · Output
Everything read, as a document Set Browser Data restores (cookies with their domain, path and expiry).
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#
Generated from VeloPhex.UIAutomation.Activities 0.7.1-rc.12. Category: UI Automation › Browser Data. Keywords: ui, automation, browser, cookie, cookies, local storage, session storage, storage, data, get, read.
Properties
Input
Output
Rules
Retry and risk
Related activities