Assuming I have a button, I have searched all of the web, .click() function does not work for me, I really do need to call the button click just after I press the button so it will click itself once more (double-click). Thanks for the help!
<button id='Button1' className="btn btn-primary btn-block btn-signin" onClick={() => {... // the magic code goes here}}