# MaxWaitForScripts

The connector allows time for scripts to complete before processing a page. This parameter specifies the maximum amount of time to wait for a period of script inactivity. If the connector is still waiting for scripts to become inactive after this amount of time has passed, the scripts are terminated.

Some web pages contain scripts that never finish, so by default the connector does not consider it an error when scripts have to be terminated. To configure the behavior of the connector when scripts are terminated, use the parameter FailOnScriptTimeout.

Type: | Time duration The value of this parameter is a time duration. Specify a value using one or more of the following units:
         years      y
         months     m
         weeks      w
         days       d
         hours      h
         minutes    n
         seconds    s
Note that months abbreviates to m, minutes to n. If you want to specify the value in seconds, units are not required. For example, all of the following are equivalent:
         1minute 3seconds
         1n 3s
         63s
         63
Default: | 30s
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `MaxWaitForScripts=5s`
See Also: | FailOnScriptTimeout ScriptInactivityTimeout

_FT_HTML5_bannerTitle.htm