Is DOM-based comparison in Selenium visual regression tests support by LambdaTest?

I can see below the doc for DOM-based comparison in Selenium visual regression tests. Is it supported in Cypress as well?

Hi Mark,

No, the mechanism is different for Cypress. You can do a DOM-based comparison using the Cypress element screenshot mechanism. Example:

cy.get('#header').screenshot();