Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E3FCEF

Please read the Terms of Use for Materials on ZennoLab

Table of contents

Expand
titleClick here to expand the table of contents
Table of Contents
minLevel1
maxLevel7
exclude^Оглавление$

...

When saving to a file, in case of instance errors, the profiles could be “broken”. The profile folder should solve these problems - when you start the project, you run the instance and tell it to use a specific profile folder. During operation, the instance saves part of the data to the profile folder without your participation, as a regular browser does. And if the instance goes bad, the data will remain in the folder. Instance data such as:

  1. Cookie

  2. Local storage

  3. HSTS Super Cookie

  4. Indexed DB

  5. Everything related to the profile (name/surname, email, password, etc.).

  6. Everything related to the browser profile (UserAgent, Accept, Accept-Language). Now the browser profile also includes fonts, plugins, time zone, geolocation and WebRTC, so they are saved automatically as well.

The only things that are not automatically saved are Proxies and variables (to save them you need to call a special action, see Profile feeding)

...

View file
nameконвертируем-старые-профили-в-новые.zp

  1. Prepare the path where the profile folders will be stored. For example, in your project folder:

Code Block
{-Project.Directory-}ProfileDirs\

...

View file
nameнагуливаем-профиль.zp

  1. Prepare the path where the profile-folders will be stored. For example, in your project folder:

Code Block
{-Project.Directory-}ProfileDirs\

...

4. Saving a profile folder.

  1. If you do not need to save variables/proxies, then you do not need to add a special cube. The profile folder will be saved automatically when you restart the instance, close the program, or when the project ends.

  2. If you need to save variables/proxies, then you should run the "Save profile-folder" cube and specify the necessary parameters with checkmarks:

...

Info

Frequent use of the “Save profile-folder” action is not recommended. Better to restrict its use in Bad end/Good end.

...

View file
nameиспользуем-профиль.zp

  1. Set up a browserless project. In your project settings, mark that the project is browserless. This is necessary in order not to waste resources on running the default browser at the start of the project.

...

2. Run instance with a profile folder. Specify the path where your unique profile folder is located. The checkbox “Create folder if it does not exist” should be unchecked.

...

To free up profile folder resources during debugging, you need to run the instance with a different type of browser, for example Firefox 45.

...