FRAME

(Copy URL in PhpBB Forum Format - Info)

From iMacros

Jump to: navigation, search

Directs all following TAG or EXTRACT commands to the specified frame. The frame tag and number is automatically generated by clicking into a framed web page. The number of a frame is given by the position of its <FRAME> HTML tag in the <FRAMESET> context of the parent page.

If EXTRACT commands do not work on a framed website this may be due to the fact that the focus is not in the frame in which the extraction should take place. In this case try to click next to the information you want to extract before you start the extraction wizard.

Sometimes iMacros continues with a TAG command inside a frame before the web site in that frame has been completely loaded. This can be avoided by adding a "WAIT SECONDS=#DOWNLOADCOMPLETE#" command before the TAG command (see Examples).

Contents

Syntax iMacros Browser IE Plug-in Firefox

FRAME F=n

Parameters

For HTML experts: The F=<x> value is the position of a frame inside the document's DOM model.
For HTML experts: The F=<x> value is the position of a frame inside the document's DOM model.
  • F
    Number of the frame. (Note: F=0 indicates the main page)

Examples

Example macro: "Demo-Frames.iim"

FRAME F=6 
TAG POS=1 TYPE=SPAN ATTR=TXT:Select<SP>path

See Also

Demo-Frames, TAG, EXTRACT, TAB

Personal tools