This commit is contained in:
15
README.md
15
README.md
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user