Request
Do you folks plan to support passing buffers instead of filepath? So we could skip the filesystem I/O?
Example (with Playwright)
await page.goto(`${prev}${urlPath}`, { waitUntil: "load" });
const bufferA = await page.screenshot(); // returns Buffer, no disk write
await page.goto(`${prev}${urlPath}`, { waitUntil: "load" });
const bufferB = await page.screenshot(); // returns Buffer, no disk write
// Compare
await odiff.compare(bufferA, bufferB, diffPath);
Request
Do you folks plan to support passing buffers instead of filepath? So we could skip the filesystem I/O?
Example (with Playwright)