This package adds a cypress custom command, so you could get uncertain element for some unknown fun.
npm install find-cat@latest
// Add following code in cypress/support/e2e.js file
import findcat from 'find-cat'
// Original function is as follows:
const catJumps = () => {
cy.log('Cat is alive, and jumps for no reason')
console.log('Cat is alive, and jumps for no reason')
cy.exec("echo 'Cat is alive, and jumps for no reason'")
}
cy.get('.header').findcat('button', catJumps)