Solves the "Cypress DOM detached element" error by finding the current element on the fly
See spec.cy.js
// spec file
import { registerDetachedElementFix } from './util'
registerDetachedElementFix()
Author: Gleb Bahmutov <gleb.bahmutov@gmail.com> © 2022
- @bahmutov
- glebbahmutov.com
- blog
- videos
- presentations
- cypress.tips
- Cypress Tips & Tricks Newsletter
- my Cypress courses
License: MIT - do anything with the code, but don't blame me if it does not work.