bahmutov / cyclope

Cypress DOM snapshots and consistent image diffing in the cloud
13 stars 2 forks source link

feat: get an element image by providing a selector #44

Closed bahmutov closed 2 years ago

bahmutov commented 2 years ago
// get an image of the todos element
cy.get('.todos').cyclope('todos.png', {
  elementSelector: '.todos',
})
github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: