MCPcopy Index your code
hub / github.com/BuilderIO/SSDiff / ScreenshotConfig

Interface ScreenshotConfig

packages/ssdiff/src/index.ts:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 defaultViewport: { width: number; height: number };
25}
26export interface ScreenshotConfig {
27 type?: "png"; // add support of other types
28 fullPage?: boolean;
29}
30export interface PageConfig {
31 waitUntil?: PuppeteerLifeCycleEvent; // when the screenshot should be taken in regards to the loaded state of the page, defaults to networkidle0
32 timeout?: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected