Exec JS

This command is not part of the Default Command Set. You have to register the Incubator Command Set first (see Configuration).

Execute the given javascript in the context of the current page.

Parameters

script
The script to execute.

Examples

Alert the value of an internal js variable (stateInternal) for debugging.

Command Parameter Optional Parameter
exec-js alert(stateInternal);