Created
August 31, 2022 11:18
-
-
Save jayjayjpg/4b9a48e7d44521da8c99cbfb0894534c to your computer and use it in GitHub Desktop.
test-user-interactions-in-js-apps-example-6
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
let myButton = document.querySelector('button'); | |
// emulates a 'click' event dispatched from the selected button element | |
myButton.click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment