Kontroller
Newbie
- Jul 5, 2011
- 29
- 0
I'm trying to run an iMacros script that will do the following.
Search the HTML of a webpage looking for a keyword in span tags. If the keyword is found click on it, if not then repeat the process.
This is the code I have :
I thought it would only click on things with this code : <span>Word</span>
However it seems like its only the first span tag that matters meaning these get clicked on too : <span>Word3</span> and so on.
How can i get around this?
Thanks
Search the HTML of a webpage looking for a keyword in span tags. If the keyword is found click on it, if not then repeat the process.
This is the code I have :
Code:
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
CMDLINE !DATASOURCE file2.csv
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
TAG POS=1 TYPE=SPAN ATTR=TXT:*Word*
SET !ERRORIGNORE YES
However it seems like its only the first span tag that matters meaning these get clicked on too : <span>Word3</span> and so on.
How can i get around this?
Thanks