Question

Here's the input field I'm trying to select (from the website)

<input class="inputtext" maxlength="100" aria-label="Search" 
placeholder="Search Your Friends" autocomplete="off" 
aria-autocomplete="list" aria-expanded="false" aria-owns=
"typeahead_list_u_jsonp_6_3" role="combobox" spellcheck="false" 
value="Search" type="text">

I need to TAG it, and then do a relative search for URLs to extract after it. (I don't need to put anything in the input field.) The TAG is failing, and I'm getting the 1st URL on the page, not the first one after the input field. (The above entry field is the only easily selectable item before the links I need to grab.)

Here's the code that fails:

TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:*  
TAG POS=R1 TYPE=A ATTR=HREF:* EXTRACT=HREF

iMacros v. 7.6.0.2 for Firefox Windows XP SP3

(Unfortunately, the iMacros official forum is dead. So I brought this here.)

Was it helpful?

Solution

You can only TAG things that you can do something with, such as forms, fields, and links.
See: http://wiki.imacros.net/TAG

OTHER TIPS

that is because your code is to generic, try:

TAG POS=1 TYPE=INPUT:TEXT ATTR=class:inputtext
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top