Skip to main content

Documentation Index

Fetch the complete documentation index at: https://tbd-6fc993ce-pools-fill-rate-1772767851.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Kernel browsers ship in Headful mode by default. In Headful mode, the launched browser has a corresponding GUI. This enables features like live view and replays. Headless mode runs without a visual interface. They generally run faster and have a lighter footprint (1 GB rather than headful’s 8 GB), resulting in significant cost savings. This is useful for short-lived or highly concurrent browser automations. Some bot detectors may detect headless mode. To launch a Kernel browser in Headless mode, set its config:
import Kernel from '@onkernel/sdk';

const kernel = new Kernel();

const kernelBrowser = await kernel.browsers.create({
  headless: true,
});
Live View and Replays are not available in headless mode.