Search code examples
imacros

Set a select option by it's position in the list with iMacros


I want to select the nth option (for example, the second), regardless of which the value is.

TAG TYPE=SELECT ... CONTENT=(the second option)

How may I approach this?


Solution

  • Read the related wiki page and you can find this way:

    TAG POS=1 TYPE=SELECT ... CONTENT=#2