Sets the session ID for the sandbox environment. This method allows you to restore or switch between existing sandbox sessions.
Parameter | Type | Required | Description |
---|---|---|---|
sessionId | string | Yes | The session ID to set for the sandbox environment. Must be a valid session identifier from a previously created session. |
Type | Description |
---|---|
Promise<void> | This method doesn’t return a value but resolves when the session is successfully set |
getSession
- Retrieve the current session IDgenerateCode
- Generate code (creates a session if none exists)void
when successful