# Record Video

Source: https://docs.scrappey.com/docs/record-video

> Enable session video recording to capture and replay browser behavior for debugging and traceability.

## Command

`"video"` — set the `video` parameter to `true` on any request to record the entire browser session. The response returns a link to download or view the recorded video.

## Parameters

| Parameter | Type    | Required | Description                                  |
| --------- | ------- | -------- | -------------------------------------------- |
| `video`   | boolean | Yes      | Set to `true` to record the browser session. |

## Example

```bash
curl -X POST "https://publisher.scrappey.com/api/v1?key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cmd": "request.get",
    "url": "https://example.com",
    "video": true
  }'
```

## Notes

Use video recording to:

- Debug failed scraping sessions visually.
- Review step-by-step browser automation.
- Present recorded demonstrations of scraping flows.
- Confirm interaction success or failures post-request.

This feature is highly valuable for debugging JavaScript-heavy sites, login automation, complex interactions, or when you want traceability over what the browser executed.
