Works with Cookies

Table of contents


Description

Added in ZennoPoster 7.3.1.0

With this action you will be able to work with the cookies of your project. Import, export and cleanup available. A file or a variable can be used as the source for loading \ saving. Netscape and JSON (https://zennolab.atlassian.net/wiki/spaces/EN/pages/2155773965 https://zennolab.atlassian.net/wiki/spaces/EN/pages/2155675661) formats are supported.

Perfectly complements the Cookie Management Tool.

How to add an action to a project?

Via the context menu Add Action → Browser → Works with Cookies

Or use smart search.

Where can it be used \ What is it used for?

  • Import cookies from purchased accounts

  • Export cookies for use in a regular browser

  • Add missing cookies to profile

How to work with an action?

Import Cookies

Loads a cookie into a profile for use in a project with or without a browser.

Source

Choose where the cookies will be loaded from: from a file or from a variable.

Path to the file

This item is displayed if File is selected as the Source.

Specify the full path to the file from which the cookies will be loaded.

Variable

This item is displayed if Variable is selected as the Source.

You must select the variable in which the cookies are stored.

Format

Here you need to select the format of the loaded cookies. The options are JSON and Netscape (https://zennolab.atlassian.net/wiki/spaces/EN/pages/2155773965 ).

Merging

Replace - before installing new cookies, the current ones will be deleted.

Merge - the current cookies in the browser will be combined with the downloaded ones.

Import only domains that match a regular expression

If you want to download cookies only for certain domains, then you should enable this setting and add regular expression.


Export Cookies

Unloading current cookies.

Where to save

Choose where the cookies will be saved: to a file or to a variable.

Path to the file

Specify the full path to the file where the cookies will be saved.

Variable

It is necessary to select a variable in which cookies will be saved.

Format

Here you need to select the format for saving the cookie. The options are JSON and Netscape.

Export domains matching regular expression only

If you want to save cookies only for certain domains, then you should enable this setting and add regular expressions.


A cube with this property will clear browser cookies completely for all sites or only for specified domains using regular expressions. Similar to the action from the Browser → Settings.