cypress-match-screenshot icon indicating copy to clipboard operation
cypress-match-screenshot copied to clipboard

Support screenshot for a specific element

Open akoidan opened this issue 4 years ago • 0 comments

Is it possible to make a screenshot of specific element on the page . Lets say

cy.get('.login-form').matchScreenshot

This is really useful feature to trigger asserts on specific elements. That was widely used in Selenium-based world.

akoidan avatar Feb 25 '20 23:02 akoidan