Want to jump into the code? See our persistence
example.
Basic Usage
In order to save a session, theprofile parameter must be set to true when
starting a Chromium session.
Example Request
session_id property that you must save
in order to load the session state again afterwards.
Example Response
profile parameter must be set to the session_id you would like to resume
when starting a Chromium session.
<session_id> and update its contents when the new session is terminated. Below is a code snippet that showcases a simple profile integration:
Advanced Usage
For more granular control, you can specify separate profiles to load and overwrite. This is useful if you wish to create a new profile from an existing profile, without altering the original.How Do We Persist Sessions?
Whenprofile is set to true, we encrypt and store the Chrome profile of the session in Amazon S3.
This Chrome profile is associated with the session_id that was returned to you on session creation.
When profile is set to a session ID, we look for a stored Chrome profile that corresponds to that session_id, and decrypt and
load the Chrome profile if there is a match.
This results in bookmarks, history, cookies, and passwords being persisted.
Looking for more detailed examples? See our persistence
example.