browser_set_cookie_object
Set browser cookies programmatically to manage user sessions, authentication states, and website preferences during automated web testing and browser automation workflows.
Instructions
Set a cookie in the browser
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cookie | Yes | Cookie string to set, e.g. 'name=value; Path=/; HttpOnly' |
Input Schema (JSON Schema)
{
"properties": {
"cookie": {
"description": "Cookie string to set, e.g. 'name=value; Path=/; HttpOnly'",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
"required": [
"cookie"
],
"type": "object"
}