Values that can be provided to mask
- CSS selector for the element to mask
- Allows you to select an element on the page by its CSS selector. This allows you to specify an area of the image that should be ignored when comparing for differences.
#my-id: Selects the element with the id
.my-class: Selects all elements with the class
div: Selects all
div.my-class: Selects all
divelements with the class
li:nth-child(2n): Selects all even
[data-testid="hero-banner"]: Selects all elements with the attribute
div > p: Selects all
pelements that are direct children of a
Maskis used to define areas of the image that should be ignored when comparing for differences. It allow you to specify an area of the image to be ignored by providing a CSS selector that targets the specific element on the page.