Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Please read the Terms of Use for Materials on ZennoLab |
Table of contents
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
...
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:
Cookie
Local storage
HSTS Super Cookie
Indexed DB
Everything related to the profile (name/surname, email, password, etc.).
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 | ||
---|---|---|
|
Prepare the path where the profile folders will be stored. For example, in your project folder:
Code Block |
---|
{-Project.Directory-}ProfileDirs\ |
...
View file | ||
---|---|---|
|
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.
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.
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 | ||
---|---|---|
|
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.
...