CaptureSettleHost
The browser-driver seam {@link settleCapture} needs, as the two capabilities it actually uses.
The browser-driver seam {@link settleCapture} needs, as the two capabilities it actually uses. Structural on purpose: this package may not depend on Playwright (the render worker and the CLI each own their driver), and a two-method seam is one a test can implement exactly.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export interface CaptureSettleHost { evaluate(expression: string): Promise<unknown>; onNetworkActivity(listener: () => void): () => void;}See also
Section titled “See also”captureViewportframeTokensprintPageSizeresolveFormatGeometrysettleCaptureCAPTURE_HAS_ISLANDS_EXPRESSIONCAPTURE_ISLAND_PAINT_GRACE_EXPRESSIONCAPTURE_ISLAND_PAINT_GRACE_MSCAPTURE_ISLAND_QUIET_WINDOW_MSCAPTURE_ISLAND_SETTLE_TIMEOUT_MSCAPTURE_ISLANDS_READY_EXPRESSIONCAPTURE_ISLANDS_READY_GLOBALCAPTURE_READY_EXPRESSIONCAPTURE_WAIT_UNTILFRAME_ROOT_CLASSCaptureViewportFormatIdentityFrameTokensPrintPageSizeResolvedFormatGeometryDocumentFormatImageFormatPhysicalLength