!TIMEOUT_TAG

(Copy URL in PhpBB Forum Format - Info)

From iMacros

(Redirected from TIMEOUT TAG)
Jump to: navigation, search

Set the TAG command timeout in seconds. If the corresponding HTML element is not found within that interval, the macro will exit with an error. Adjust the wait time if dealing with tricky AJAX pages, where elements can appear after a while without triggering a page reload.

Version 7: This command also sets the wait time for IMAGESEARCH and IMAGECLICK (In V6, !TIMEOUT is used for IMAGESEARCH and IMAGECLICK).

Contents

Value iMacros Browser IE Plug-in

Integer > 0 that gives the number of seconds a page may take to load completely.

Default: 1/10 of !TIMEOUT_PAGE, which means 6 seconds if !TIMEOUT_PAGE has the default value of 60 seconds.

Set By

[ ] Internal

[X] SET

Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.

Examples

' exit with error if TAG is not found after 3 seconds
SET !TIMEOUT_TAG 3 

See Also

TIMEOUT_MACRO, TIMEOUT_PAGE

Personal tools