Hi guys, I cant seem to figure out how to add a .click on this HTML code.
Normally I would just use getelementbyid("1234").click
but there is no "id" that I can find. all I can find is an HTML code with
I just want to click the Vote Button
Help me please.
Currently this is my code
objIE.document.getElementById("option-49").Click
objIE.document.getElementsByClassName("btn btn-default vote-button weblator-poll-submit").Click
Application.Wait (Now + TimeValue("0:01:00"))
this is the HTML code
Thanks in advance
Normally I would just use getelementbyid("1234").click
but there is no "id" that I can find. all I can find is an HTML code with
HTML:
<button>
Help me please.
Currently this is my code
objIE.document.getElementById("option-49").Click
objIE.document.getElementsByClassName("btn btn-default vote-button weblator-poll-submit").Click
Application.Wait (Now + TimeValue("0:01:00"))
this is the HTML code
HTML:
<div class="button-vote">
<button class="btn btn-default vote-button weblator-poll-submit"><i class="fa fa-spinner fa-spin vote-spin"></i> Vote</button> </div>
<div class="weblator-view-results"><a href="#" class="weblator-view-poll btn btn-default">Show</a><a href="#" class="weblator-hide-poll btn btn-default">Hide</a> </div>
Thanks in advance
Last edited by a moderator: