Skip to main content
All CollectionsWrk Action LibraryWebsite Automation
Retrieve cookies from a browser session
Retrieve cookies from a browser session
Wrk Product avatar
Written by Wrk Product
Updated over 7 months ago

Retrieve cookies from a browser. Refer to the documentation for configuration details.

Application

  • Web Process Automation

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Browser session ID

The unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action

Text (Short)

Yes

fb9bc380-146c-420e-9130-50ce93614e05

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Browser cookies

Cookies retrieve from the browser in JSON.

Text (Long)

Yes

Unsuccessful message

If unsuccessful, a message stating what went wrong

Text (Long)

Yes

Unsuccessful screenshot

If unsuccessful, a screenshot of the website

File

Yes

Outcomes

Name

Description

Success

This status is selected in the event that the JavaScript provided has been executed

Unsuccessful

This status is selected in the event of the following scenario:

  • An error occurred trying to retrieve cookies from the provided browser session

Impossible to complete

This status is selected in the event of the following scenario:

  • Unable to connect to the session for some reason

Requirements

  • N/A

Did this answer your question?