Tất cả phiên bản v0.1.13514 Tháng 8 2026Hiển thị, API web và DOM, DevTools Feed

Ghi chú phát hành được viết bằng tiếng Anh.

DevTools automation: the methods a real driver reaches for

Automation tools and remote inspectors drive a browser over the standard DevTools protocol, and a few of its most-used methods were missing - enough that a driver could connect and query but not fully act. This release fills them in, over the engine's real DOM and layout: querySelectorAll returns every match as a node handle (the backing for a page's $$); getBoxModel and getContentQuads report an element's real on-screen box, which is exactly what a driver reads to compute where to click; focus and scrollIntoViewIfNeeded act on the live element; and getMatchedStylesForNode returns an element's parsed inline style. Each is exercised against the real engine in tests - a three-match querySelectorAll, a box model with a real content quad, a focus that moves the active element, and an inline style parsed to its properties. DevTools moves 42 to 45 and overall 54 to 55.

Những gì đã thay đổi

3 thay đổi
  1. API web và DOMDOM automation methods (the CDP layer, over the real DOM): DOM.querySelectorAll (all matches as node handles), DOM.getBoxModel and DOM.getContentQuads (an element's real layout box, from getBoundingClientRect - what a driver reads to place a click), DOM.focus and DOM.scrollIntoViewIfNeeded (acting on the live element).
  2. Hiển thịCSS.getMatchedStylesForNode: an element's inline style parsed into the protocol's property shape (author-rule matching against the cascade is a later step; the inline block is what tooling reads first and it is real).
  3. API web và DOMEach new method is tested against the engine's own DOM and layout - querySelectorAll finds three of three, getBoxModel returns an eight-value content quad with real width and height, focus moves document.activeElement, and the inline style parses to its properties. Whole conformance suite unchanged.
Mọi thứ kể từ v0.1.135 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026