Uncaught (in promise) failed to load image #26592
Unanswered
calystoramesh
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
cy.get(".qrcode")
.should("be.visible")
.screenshot("qrcode", {
overwrite: true,
onAfterScreenshot($el, props) {
console.log("========Test1======", props);
console.log("========Test1======", props.path);
qrcode
//.scan("e:/cypressautomation/cypress/screenshots/qrcode.png")
.scan(props.path)
.then((result) => {
console.log(result.data);
});
},
});
Cypress package version: 12.9.0
Beta Was this translation helpful? Give feedback.
All reactions