browser_add_cookie_by_name
Add a cookie to the browser by specifying its name and value for web automation and testing purposes.
Instructions
Add a cookie to the browser
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Name of the cookie to add | |
value | Yes | Value of the cookie to add |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the cookie to add",
"type": "string"
},
"value": {
"description": "Value of the cookie to add",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
}