()
| 23 | }; |
| 24 | |
| 25 | const helper = async () => { |
| 26 | const pathnames = ["/c/docs/developers"]; |
| 27 | const ssDiff = new SSDiff({ |
| 28 | url1: localhost, |
| 29 | url2: production, |
| 30 | pageConfig: { |
| 31 | waitUntil: "domcontentloaded", |
| 32 | timeout: 0, |
| 33 | }, |
| 34 | pathnames, |
| 35 | screenshotConfig: { |
| 36 | fullPage: true, |
| 37 | }, |
| 38 | debug: true, |
| 39 | outputFile: true, |
| 40 | }); |
| 41 | |
| 42 | const result = await ssDiff.result(); |
| 43 | console.log(result); |
| 44 | }; |
| 45 | |
| 46 | helper(); |