imacros: Click next link after found text

robear

Newbie
Joined
Jan 20, 2011
Messages
12
Reaction score
11
my example script clicks the first "rate" button it finds on a page, yet I want it to find some text and then click the next "rate" button on a page which changes from being number 1 to number 5. the search line seems to work, yet the tag line jumps the script back to the top of the page. Thanks
Code:
    VERSION BUILD=8300326 RECORDER=FX
    TAB T=1
    SET !DATASOURCE C:\Users\admin\Documents\iMacros\Downloads\extract.csv
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 1
    SET !DATASOURCE_LINE {{!LOOP}}
    URL GOTO={{!COL1}}
    SEARCH SOURCE=TXT:"some text"
    TAG POS=1 TYPE=SPAN ATTR=TXT:*<SP>Rating:<SP>Good<SP>Answer
    WAIT SECONDS=2
 
You propably just want to mechanize like for like - it have anti bot feature very similar to things, that you saying.
 
Back
Top