Run JavaScript on Page
Run your own JavaScript code and change the target website behavior; manipulate the behavior of the target website as needed with maximum flexibility.
-
Enter the script code or load it from a file.
-
To return a result, explicitly call the
LeoSetOutputVariableValue
function with the output value.Click +Add function call to quickly add it to your code.
-
Enter the name of the variable into which you'd like to place the returned result.
Steps 2 and 3 are relevant only for a script that is designed to return a result.
The command has a built-in timeout that stops the command from running if processing it takes longer than expected.
In FireFox/Chrome: the timeout is 5 seconds
Read more about Timeout Monitoring.
Support and Prerequisite: See HTML Commands Support and Prerequisites