https://cypress.io logo
You're introducing a lot of moving parts with all ...
# e2e-testing
f
You're introducing a lot of moving parts with all that string manipulation. By which point, it is hard to say if the content comparison fails because of differing content, or. because of some fault in your
htmlStripper
My suggestion would be as above: use
cypress-iframe
and work from within the yielded element