find text in different url's

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
techimac
Posts: 287
Joined: Fri Feb 20, 2015 9:27 pm

find text in different url's

Post by techimac » Wed May 02, 2018 5:56 pm

How to use xpath or any other command to find a particular text in different url's?

Window s8.1
Firefox 47
iMacros 8.9.7
access2vivek
Posts: 36
Joined: Wed Dec 20, 2017 10:00 am

Re: find text in different url's

Post by access2vivek » Sun Nov 04, 2018 12:29 pm

The question is extremely vague, but I will try to answer it according to my understanding of the same.

I am assuming you want a command that will help you to get the text of a link on a page. To do that, you can use the following: -

iimPlayCode("TAG POS=1 TYPE=A ATTR=* EXTRACT=TXT"); // Get the text on the first A element
var link = iimGetLastExtract(); // Save the value in a variable named link.

I hope it helps :-)
Post Reply