# 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 the duration in the following format:
         1years 2months 3weeks 4days 5hours 6minutes 7.8seconds
You can omit any of the individual durations when they are not required:
         6minutes 7seconds
You can also shorten the string by abbreviating the units to their first letter (months abbreviates to m, minutes to n):
         6n 7s
If you want to specify the value in seconds, no units are required:
         60
The following are all 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