[Launch options](https://cdpfleet.com/docs/options)

# `screencast`

Stream the page to your code (Playwright page.screencast).

**Use it for:** Watching or recording a headless page from your own code as a stream of JPEG frames, for debugging dashboards or human review, without a full live view.

**Browsers:** [Google Chrome](https://cdpfleet.com/docs/browsers/chrome#opt-screencast), [Microsoft Edge](https://cdpfleet.com/docs/browsers/edge#opt-screencast), [Brave](https://cdpfleet.com/docs/browsers/brave#opt-screencast), [Opera](https://cdpfleet.com/docs/browsers/opera#opt-screencast), [Naver Whale](https://cdpfleet.com/docs/browsers/whale#opt-screencast), [Yandex Browser](https://cdpfleet.com/docs/browsers/yandex#opt-screencast), [Chromium](https://cdpfleet.com/docs/browsers/chromium#opt-screencast), [Patchright](https://cdpfleet.com/docs/browsers/patchright#opt-screencast), [Camoufox](https://cdpfleet.com/docs/browsers/camoufox#opt-screencast), [Firefox](https://cdpfleet.com/docs/browsers/firefox#opt-screencast), [WebKit](https://cdpfleet.com/docs/browsers/webkit#opt-screencast).

## Details

-   **Type:** `boolean`
-   **Default:** false
-   **Example:** `{"screencast":true}`

Not a launch option: the generated program calls `page.screencast.start({ onFrame })`, which sends JPEG frames of the page to your code over the session's own connection whenever it changes — forward them to your UI, a websocket or a file. Needs a Playwright 1.60+ client.

View-only and only for the client that drives the page. With `"cdp": true`, use CDP `Page.startScreencast` instead. To watch from somewhere else — or take control — see `live_view` and [Live view](https://cdpfleet.com/docs/live-view).

## Used in

-   [Case 27: Watch it live: streaming a remote browser to your code, frame by frame](https://cdpfleet.com/docs/cases/live-view)
-   [Live view: stream the page to your code](https://cdpfleet.com/docs/examples#live-view)

All options: [launch options](https://cdpfleet.com/docs/options).

---
Source: https://cdpfleet.com/docs/options/screencast · Markdown: https://cdpfleet.com/docs/options/screencast.md · All docs for AI tools: https://cdpfleet.com/llms.txt
