GoLess
  • Basics
    • Recording Actions
    • Adding workflow manually
    • Tutorial: Scraping data
  • Workflow
    • Customization
    • Blocks
    • Global Data
    • Variables
    • Element Selector
    • Expressions
    • Workflow Table
    • Looping
    • Google Drive
  • Blocks
    • General
      • Note Block
      • Trigger Block
      • Execute Workflow Block
      • Delay Block
      • Export Data Block
      • HTTP Request Block
      • Blocks Group
      • Clipboard Block
      • Wait Connections Block
      • Notification Block
      • Workflow State
      • Parameter Prompt Block
    • Browser
      • Active Tab Block
      • New Tab Block
      • Switch Tab Block
      • New Window Block
      • Proxy Block
      • Go Back Block
      • Go Forward Block
      • Close Tab/Window Block
      • Take Screenshot Block
      • Browser Event Block
      • Handle Download Block
      • Handle Dialog Block
      • Reload Tab Block
      • Get Tab URL Block
      • Cookie Block
    • Web Interaction
      • Click Element Block
      • Get Text Block
      • Scroll Element Block
      • Link Block
      • Attribute Value Block
      • Forms Block
      • Javascript Code Block
      • Trigger Event Block
      • Switch Frame Block
      • Upload File Block
      • Hover Element Block
      • Save Assets Block
      • Press Key Block
      • Create Element Block
    • Control Flow
      • Repeat Task Block
      • Conditions Block
      • Element Exists Block
      • While Loop Block
      • Loop Data Block
      • Loop Elements Block
      • Loop Breakpoint
    • Data
      • Insert Data Block
      • Delete Data Block
      • Get Log Data Block
      • Slice Variable Block
      • Increase Variable Block
      • RegEx Variable Block
      • Data Mapping Block
      • Sort Data Block
    • Оnline Services
      • Google Sheets Block
    • Premium
      • ChatGPT Block
      • Captcha Block
  • REFERENCE
    • Logs
    • Schedule
    • Storage
    • Packages
    • Condition Builder
    • Workflow Common Errors
    • JavaScript Execution Context
Powered by GitBook
On this page
  1. Blocks
  2. Browser

Cookie Block

PreviousGet Tab URL BlockNextWeb Interaction

Last updated 1 year ago

This block allows you to receive, set or delete cookies. The block settings contain three modes of operation:

  • Get cookie. In this mode, the block receives cookies. Below is a screenshot with the settings of this mode.

  1. Get all cookies. Defines whether to get one or all cookies

  2. Use JSON format. Settings such as URL, Name, Path and Domain can be written in json format instead of a separate entry in the menu.

  3. URL. The URL with which the cookie to retrieve is associated. This field is optional when you turn on "Get all cookies"

  4. Name. The name of the cookies to get

  5. Path. The path of the cookies

  6. Domain. Domain to which cookies should be linked (with this exact domain or one of its sub-domains)

  • Set a cookie. In this mode, the block sets cookies. Below is a screenshot with the settings of this mode.

  1. Use JSON format. Similar to the previous mode, it allows you to record all the mode settings in json format.

  2. URL. Defines the request URI to be assigned to the cookie. This value may affect the domain and path values of the created cookie.

  3. Name. The name of the cookie

  4. Path. The path of the cookies

  5. Value. The value of the cookies

  6. Domain. This is the domain of the cookie.

  7. sameSite. This is the value that indicates the SameSite state of the cookie. Probable values: lax, strict, or you can keep it empty.

  8. expirationDate. The cookie expires according to the number of seconds.

  • Remove cookies. In this mode, the block deletes cookies. Here you need to specify the information in the URL, Name, Path settings. This data can also be specified in json format using the Use JSON format setting.