Created
January 15, 2019 22:49
-
-
Save MCTaylor17/ce1152416d5572760b0fbbcbe2116b86 to your computer and use it in GitHub Desktop.
Medium: Cypress Methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// wait for 1000 milliseconds | |
cy.wait(1000); | |
// Trigger the 'mousemove' event on button | |
cy.get("button").trigger("mousemove"); | |
// Access the application window object | |
cy.window().then((window)=> { | |
let document = window.document; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment