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 Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
techimac
Posts: 284
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