Scripted Processing Parameters

The parameters in this section configure scripted processing, which allows you to control the embedded browser by means of a Lua script. This can be useful when processing pages that load content using JavaScript.

You can set these parameters in the TaskName section. For example:

[MyTask]
ScriptedProcessingUrlRegex=.*/js_paged_index.html
ScriptedProcessingLuaScript=js_paged_index.lua

Alternatively, to use different scripts for processing different pages, set the ScriptedProcessingSections parameter. This allows you to define multiple sections containing the settings. For example:

[MyTask]
ScriptedProcessingSections=ScriptedProcessing0,ScriptedProcessing1

[ScriptedProcessing0]
ScriptedProcessingUrlRegex=.*/js_paged_index.html
ScriptedProcessingLuaScript=js_paged_index.lua

[ScriptedProcessing1]
ScriptedProcessingUrlRegex=.*/another_js_paged_index.html
ScriptedProcessingLuaScript=another_js_paged_index.lua