Extract Web Storage

The Extract Web Storage step extracts data from the local and/or session storage from the current browser session. The local and session storages are used by some websites to persist larger amounts of data than can be stored in a cookie. The extracted web storage data is stored in a variable in JSON format. To further process the extracted data in a robot, a Create Page step can be used if it is configured to use the variable as input. The JSON will then be loaded into the browser view and additional steps can be added in order to, for instance, loop through the extracted values.

Properties

The Extract Web Storage action can be configured using the following properties:

Include Local Storage

When checked, the storage items from the local storage will be included in the extracted data. In a browser, the local storage is normally persisted across browser sessions, similarly to persistent cookies.

Include Session Storage

When checked, the storage items from the session storage will be included in the extracted data. In a browser, the session storage is normally persisted for as long as the browser window or tab exists, similarly to a session cookie.

Key Pattern

If only the stored items with a particular key are to be extracted, a pattern that matches the key of interest can be specified. If the field is left blank, all storage items will be included regardless of their keys. If a pattern is specified, note that it must match the entire key.

Domain Pattern

If only the stored items that belong to a particular domain are to be extracted, a pattern that matches the domain of interest can be specified. If the field is left blank, storage items of all domains will be included. If a pattern is specified, note that it must match the entire domain.

Output

The variable in which to store the extracted storage. The storage will be extracted in JSON format.