differencify icon indicating copy to clipboard operation
differencify copied to clipboard

Feature request: partial page comparison

Open atsepkov-zaius opened this issue 6 years ago • 1 comments

Sometimes I know that the content of the page will differ, but the layout should still be the same. In cases like that I would like to be able to specify which area of the page to compare and which to ignore.

One way to achieve this is to allow the user to specify a "mask" image with black pixels corresponding to regions to compare and white corresponding to regions to ignore.

Another alternative is to just let user specify coordinates of regions that matter (or regions to ignore) directly.

How feasible would this be? Thanks

atsepkov-zaius avatar Oct 04 '19 15:10 atsepkov-zaius

Hi @atsepkov-zaius , how about using elementHandle.screenshot instead?

NimaSoroush avatar Oct 04 '19 19:10 NimaSoroush