I'm using iMacros 8.9.7 on FIrefox 55.0 (64-bit). Windows 10
I'm new with iMacros and I'm trying to make an automation to 'up' my post in a forum daily
there will be a random questions each time when you try to reply your post
Question 1: <p class="description"> type 12345</p>
Question 2: <p class="description"> 1+2=?</p>
Question 3: <p class="description"> what's the day after sunday?</p>
then i need to answer it in
<input id="humanverify" class="textbox answer" name="humanverify[input]" id="humanverify" autocomplete="off" type="text">
I have tried to follow several guides and ways and this one is the last one i made but apparently it's "TypeError: checkText is undefined, line 3 (Error code: -991)"
Code: Select all
var checkText = window.content.document.getElementsByTagName('HTML').textContent;
if(checkText.search("1+2=") > -1){
var iims;
iims = "CODE:";
iims += "EVENT TYPE=KEYPRESS SELECTOR=\"#humanverify\" CONTENT=3"+"\n";
iimPlay(iims);
}else{
var iims;
iims = "CODE:";
imms += "WAIT SECONDS=0.5"+"\n";
iimPlay(iims);
};
Can anyone help me with simpler code or guide that i can follow?