browser_set_cookie
Set a cookie on the current page to inject authentication tokens or session data without completing a login flow.
Instructions
Set a cookie on the current page.
Useful for injecting auth tokens or session cookies without going through a login flow. The browser must already be on a page in the target domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cookie name | |
| path | No | Cookie path | / |
| value | Yes | Cookie value | |
| domain | No | Cookie domain (default: current page domain) | |
| secure | No | Secure flag |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |