on-internet
← Community

How to search for text on page then continue script from that point

Stack Overflow ·

My example script clicks the first "rate" button it finds on a page, yet I want it to find text and then click the next "rate" button on a page. 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:"my favorite energy drink" TAG POS=1 TYPE=SPAN ATTR=TXT:*<SP>Rating:<SP>Good<SP>Answer WAIT SECONDS=2 The search line seems to work, yet the tag line jumps the script back to the top of the page.

Comments

Sign in or sign up to comment and upvote.

No comments yet.