I'm trying to use the Chrome console to select all the buttons in a page and click them programmatically. A similar page to what I'm playing with is this one: http://api.openstack.org/api-ref.html#compute-ext
I already tried to execute the command below but it didn't do what I wanted.
$("btn small info").click()
Is this possible at all? What command should I issue?
Well, you want to make sure you only select the buttons in the section so you are not running the search.
$("#body .btn").trigger("click");
2.1m questions
2.1m answers
60 comments
57.0k users