oliyh / kamera

UI testing via image comparison and devcards
91 stars 7 forks source link

Ability to exclude areas of image for comparison #10

Open oliyh opened 5 years ago

oliyh commented 5 years ago

Could get IM to 'delete' (replace with a solid colour) a list of polygons (or squares) from both expected and actual images. This would be another normalisation fn.

oliyh commented 5 years ago

A CSS selector could get the bounding box to calculate the dimensions, otherwise you just pass them in.