return full cookie jar on request
Some checks failed
CI / release (push) Failing after 30s

This commit is contained in:
estebanthilliez
2026-04-24 22:26:27 +02:00
parent 772ed5a176
commit 2220b92849
4 changed files with 56 additions and 18 deletions

View File

@@ -119,13 +119,15 @@ Open a page and wait for a specific cookie to appear.
```json
{
"domain": "https://example.com/",
"cookieName": "session_id"
"cookieName": "session_id",
"includeCookies": true
}
```
#### Parameters
- **`domain`** (required): Target website URL
- **`cookieName`** (required): Cookie name to wait for
- **`includeCookies`** (optional): Include the full browser cookie jar in the response
- **`user_agent`** (optional): User-Agent to use for the browser session
- **`proxy`** (optional): Proxy configuration object
@@ -138,6 +140,16 @@ Open a page and wait for a specific cookie to appear.
"cookie_path": "/",
"http_only": true,
"secure": true,
"cookies": [
{
"name": "session_id",
"value": "abc123",
"domain": ".example.com",
"path": "/",
"httpOnly": true,
"secure": true
}
],
"user_agent": "Mozilla/5.0...",
"elapsed_time": 1.42
}
@@ -148,6 +160,7 @@ Open a page and wait for a specific cookie to appear.
{
"cookie_name": "session_id",
"cookie_value": null,
"cookies": [],
"user_agent": "Mozilla/5.0...",
"elapsed_time": 60.0
}