December 4, 2026 · Cloudflare
Browser Run - Kitesurf adds WebMCP updates, custom elements, and rendering improvements
What changed
Browser Run Kitesurf engine: Adds WebMCP spec updates, custom element upgrades, rendering fixes and lower memory use.
Kitesurf, Cloudflare's experimental browser engine for AI agents, has new features and fixes in Browser Run since it became open source.
WebMCP updates
WebMCP support now follows the latest version of the spec:
- Tool events, such as
toolactivatedandtoolcancel, fire ondocument.modelContext. - Pages can call
document.modelContext.waitForToolsUntil()to say that they are still registering tools. - CDP clients receive each tool's consequential and debugging hints.
Custom elements
Custom elements now upgrade as the HTML spec defines. customElements.define() and customElements.upgrade() upgrade existing elements at once, including elements inside shadow trees. More pages built with web components now render and behave correctly.
Rendering improvements
- Kitesurf now draws CSS
filterandbackdrop-filter,background-clip: text,-webkit-text-fill-color, andtext-shadow. :hoverstyles now apply when the pointer moves over an element, so CSS hover menus open.- Responsive images now use the
sizesattribute and themediacondition of<picture>sources to select an image, as browsers do. - CSS grid layout,
corner-shape,clip-path, 3D transforms, and inline SVG fill and stroke are more accurate.
Lower memory use
The engine now holds less memory for the DOM, layout, styles, and rendering.
Other changes
- Dark mode:
Emulation.setEmulatedMedianow appliesprefers-color-schemeto CSS andmatchMedia(). Playwright'scolorSchemeoption and Puppeteer'spage.emulateMediaFeatures()now work. - Reuse a Playwright login: The
Kitesurf.setStorageStateCDP command loads the cookies andlocalStoragefrom a PlaywrightstorageState↗︎ file. localStorageacross pages: A change tolocalStoragenow reaches the other open pages of the same origin at once, and firesstorageevents. Kitesurf also supports the CDPDOMStoragedomain.- Navigation: Back and forward navigation restores the scroll position, and supports
history.scrollRestoration. A link withtarget="_blank"no longer replaces the current page. - Forms: A focused
<select>element now responds to the arrow keys, Home, End, and typing an option's first letters. - Fonts: Web fonts declared with
@font-facein a<style>element, or loaded with theFontFaceAPI, now render. Korean text now renders, and Japanese and Traditional Chinese text use their regional glyph shapes. - Searchable PDFs: PDFs from
Page.printToPDFnow have correct text for Arabic, Chinese, Japanese, Korean, ligatures, and right-to-left scripts, so you can copy and search the text.
Kitesurf now passes 1,574,685 of 1,739,334 Web Platform Tests (WPT) ↗︎ subtests.
Track WPT progress and performance benchmarks ↗︎ on kitesurf.dev ↗︎. For more information, refer to the Kitesurf documentation.
Free. Unsubscribe any time.