How to check if a field exists using iMacro

2019-07-29 07:18发布

问题:

I Need to check to see if an html field exists in a website using iMacro plugin for firefox. If the field does not exist, then I need to perform a different opperation

回答1:

TAG POS=1 TYPE=A ATTR=TXT:C

TAG POS= Which A class do yo want.

Type= To find your text in that class

ATTR= What do want from that class. (TXT, HREF...)

TXT(or something different): You can use * to find anything in class. İt marks the object. Or you want to search example:

TAG POS=1 TYPE=B ATTR=TXT:I<sp>am<sp>a<sp>text.

This code means find the first bold item which is in text:I am a text, and mark it.



标签: imacros