Search code examples
extractimacros

IMacos - Extracting element with multiple classes


I am using IMacros for extracting txt from a span. Its something like this

<span class="class1 class2 class3" >Data to Extract</span>

Now, I am having confusion, how to select the data as it has multiple classes.

Any help will be appreciated.


Solution

  • TAG POS=1 TYPE=SPAN ATTR=CLASS:"class1 class2 class3" EXTRACT=TXT