When I run:
javascript:
var inputs = document.getElementsByClassName('subscribe_follow');
for(var i=0;i<inputs.length;i++) {
inputs[i].click();
}
to click all buttons with the class class="subscribe_follow"
,
it also clicks all buttons with the class class="subscribe_follow ng-hide"
.
How do I only click the exact class?