Cypress - File Operations
Which of the following is the correct way to read the contents of a file named
log.txt using Cypress?log.txt using Cypress?then() to handle the promise returned by cy.readFile().then() with a callback. Options B, C, and D use invalid syntax or methods.then() to access file content asynchronously [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions