Use Cases
Skip Repeated Logins
Log in once, then reuse that session state across future tasks:- Create an environment and run a session with it attached
- Log in to the target site during the session
- The profile saves your login cookies automatically when the session ends
- Future sessions on the same environment start already authenticated
Preserve Site Preferences
Cookie consent choices, language settings, dark mode preferences, and other site-specific configuration carry over between sessions without any extra setup.Maintain Application State
For e-commerce or SaaS workflows, keep cart contents, workspace configurations, or application state intact between sessions.Profile Status
Each environment tracks the state of its browser profile:Populating a Profile
There are three ways to get browser data into an environment’s profile:Using a Profile in a Session
PassenvironmentId when starting a session or task. The browser loads the profile’s saved data before executing anything:
Sync from Local Chrome
The sync command packages your local Chrome browser data and uploads it directly to an environment. This is the fastest way to populate a profile if you’re already logged into sites locally.Sync to an Existing Environment
If you’ve already created an environment, sync your local browser data to it:
This replaces any existing profile data in the environment. The status changes to
ready once the upload completes.
Create and Sync in One Step
To create a new environment and upload your local data in a single command, omit--environmentId:
Limits
Environments Overview
What environments are and when to use them
Environments API
Create environments and upload profile data via the API