| 32 | timeout?: number; |
| 33 | } |
| 34 | export 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 | |
| 46 | export class SSDiff { |
| 47 | url1: any; |
nothing calls this directly
no outgoing calls
no test coverage detected