cdpfleet Docs Sign up free

Launch 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, Microsoft Edge, Brave, Opera, Naver Whale, Yandex Browser, Chromium, Patchright, Camoufox, Firefox, WebKit.

Details

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.

Used in

All options: launch options.