cdpfleet Docs Sign up free

Launch options

headless

Run without a display.

Use it for: Bulk scraping and tests where nobody watches: lower memory and faster launches. Leave it headful (the default) when a site checks for headless tells, or when you want a recording or live view without extra options.

Browsers: Google Chrome, Microsoft Edge, Brave, Opera, Naver Whale, Yandex Browser, Chromium, Patchright, Rebrowser, Camoufox, Firefox, WebKit.

Details

Google Chrome, Microsoft Edge, Brave, Opera, Naver Whale, Yandex Browser, Chromium, Patchright, Rebrowser

true or "new" runs Chrome's new headless mode; "shell" runs the lightweight headless shell. Anything else — including 1 and "false" — runs headful on a virtual display, which is harder to detect and is billed as 2 threads (headless is 1).

Firefox, WebKit

Any truthy value runs headless — including the strings "false" and "0", so send a real boolean. false, 0 or omitting it runs headful on a virtual display (billed as 2 threads; headless is 1).

Camoufox

Any truthy value runs headless — including the strings "false" and "0", so send a real boolean. false, "virtual" or omitting it runs headful on a virtual display, which Camoufox recommends for stealth (billed as 2 threads; headless is 1).

Used in

66 more in cases and recipes.

All options: launch options.