browser_set_cookie_object
Set a browser cookie by supplying a cookie string, enabling authenticated sessions and stateful web tests during Selenium automation.
Instructions
Set a cookie in the browser
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cookie": "<cookie>"
},
"name": "browser_set_cookie_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookie | Yes | Cookie string to set, e.g. 'name=value; Path=/; HttpOnly' |