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

Interface SSDiffConfig

packages/ssdiff/src/index.ts:34–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 timeout?: number;
33}
34export interface SSDiffConfig {
35 url1: string; // url of domain1
36 url2: string; // url of domain2
37 pathnames: string[]; // array of pathnames to be compared
38 browserConfig?: BrowserConfig; // config passed to puppeteer.launch
39 screenshotConfig?: ScreenshotConfig; // config passed to page.screenshot
40 pageConfig?: PageConfig; // config passed to page.goto
41 failInCaseOfDifferentSize?: boolean; // if true, the comparison will fail if the images are of different sizes
42 debug?: boolean; // if true, debug logs will be printed
43 outputFile?: boolean; // if true, output logs will be printed
44}
45
46export class SSDiff {
47 url1: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected