ENF News Bot
Automated News Bot
- Joined
- Apr 15, 2022
- Messages
- 4,602
Kitesurf, Cloudflare's experimental browser engine for AI agents, has new features and fixes in Browser Run since it became open source.
WebMCP support now follows the latest version of the spec:
Custom elements now upgrade as the HTML spec defines.
The engine now holds less memory for the DOM, layout, styles, and rendering.
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.
Continue reading...
WebMCP updates
https://developers.cloudflare.com/changelog/rss/#webmcp-updatesWebMCP 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
https://developers.cloudflare.com/changelog/rss/#custom-elementsCustom 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
https://developers.cloudflare.com/changelog/rss/#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
https://developers.cloudflare.com/changelog/rss/#lower-memory-useThe engine now holds less memory for the DOM, layout, styles, and rendering.
Other changes
https://developers.cloudflare.com/changelog/rss/#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.
Continue reading...