How to check if a field exists using iMacro

2019-07-29 07:51发布

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

标签: imacros
1条回答
在下西门庆
2楼-- · 2019-07-29 08:14
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.

查看更多
登录 后发表回答