title: How can I automatically trigger an enter key press event after a certain action is executed?
body: <p>I'm writing some unit test in my web apps and I want to automatically trigger an <kbd>Enter</kbd> key pressed event from my page after for example a download to text file button was clicked. How can i do this in jQuery or Javascript?</p>