Imports cookies into the specified profile.
import_cookiesImport JSON-format cookies into an existing ZennoBrowser profile to update session data, overwriting existing cookies.
Instructions
This method allows importing cookies into an existing profile in JSON format. Ensure that the cookies parameter is a valid JSON value representing the cookies to be imported. Cookies will overwrite existing cookies in the profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Cookies in JSON format to import. | |
| profileId | Yes | The unique identifier of the profile to import cookies into. | |
| workspaceId | No | Workspace identifier. -1 means the default workspace. |