MCPcopy Create free account
hub / github.com/BuilderIO/SSDiff / helper

Function helper

packages/ssdiff/example/index.js:25–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23};
24
25const 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
46helper();

Callers 1

index.jsFile · 0.85

Calls 2

resultMethod · 0.95
logMethod · 0.80

Tested by

no test coverage detected