Skip to main content
[Command] Set cookies
Sophie avatar
Written by Sophie
Updated over a year ago

Definition and Usage

The Set cookies command is used to instruct the workflow to preset cookies values in a specified web page, such as login cookies, session cookies, etc. Cookies can be obtained through the Cookie tool which is inside the Set cookies command.


Parameters Values

Set parameters

Parameter

Definition

Web page

Select a target web page. There are 2 commands that can be used to generate a web page variable:

  • Go to web page

  • Find web page

Cookies

Set the cookies for the web page selected above

Cookie tool

Please follow the steps below to obtain cookies using the cookie tool:

  • Enter the target URL

  • Log in on the web page

  • Click Get cookies to obtain cookies

  • Click Test cookies to see if the cookies are valid

  • Click Accept cookies

Error handling

Parameter

Definition

When error occurs

Select the action to be performed when an error occurs

  • Terminate the project

  • Ignore the error and execute the next command

  • Retry action


Example

The flow will go to www.twitter.com on the built-in browser, save the webpage as a variable named "Twitter_webpage", and set the cookies obtained from the Cookies tool to the previous web page "Twitter webpage".

Did this answer your question?