Closed ghost closed 4 years ago
When you pass the blackout option into screenshot, only css selectors are accepted. xpaths passed into the blackout option are not recognised.
Cypress doesn't support xpath at all currently. See #1274 and comment in there about where you'd like to see xpath support - for selectors inside the cy.screenshot() command.
cy.screenshot()
When you pass the blackout option into screenshot, only css selectors are accepted. xpaths passed into the blackout option are not recognised.