set_cookies
Add cookies to browser sessions for testing and debugging web applications. Specify cookie names, values, and domains to simulate user authentication states during reverse engineering.
Instructions
Add cookies to the current browser context.
Args: cookies: List of cookie dicts. Each should contain at minimum: - name: Cookie name - value: Cookie value - domain: Cookie domain (e.g. ".example.com") Optional: path, expires, httpOnly, secure, sameSite.
Returns: dict with status and count of cookies set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes |