Run Script
Runs a script on a web page.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If "Continue On Error" property is true, no error is caught when the project is executed even if a Catch node is used.
Input
- Script - The JavaScript code to be executed on the web page
- Page Id - The identifier of the web page where the script will be executed. This ID is generated by the Open Browser node.
Output
- Result - The result of the script execution. The result should be returned from the script. However, returning a result is not mandatory, if no result is returned from the script, that's acceptable as well.
warning
Do not return the msg
object as in the Function node.