If true, saves session state when the session ends. For browser sessions, this saves cookies and storage state. For desktop sessions, this saves a full VM snapshot. The returned session id can then be passed as environment_id in future sessions to restore state.
ID of a previously created persistent session (e.g., comp_abc123). For browser sessions, restores cookies, localStorage, and other browser state. For desktop sessions, restores the full VM snapshot including files, installed software, and system configuration. If you pass environment_id without persistent: true, the session starts from the saved state but does not save changes when it ends.