I have this HTML code
<div class="form-actions">
<button type="submit" class="btn btn-success">I'm a button! Yayyy!</button>
</div>
I need to access that button in JS and click on it. And I cannot add an id to it, because it's on a webpage. (I'm using tampermonkey/greasemonkey btw)
$(".btn.btn-success" ).click();