JavaScript
Execute arbitrary JavaScript in a Node.js sandbox or in the browser
This step allows you to execute arbitrary JavaScript code in a Node.js sandbox or in the running browser.
Please see the JavaScript guide for more details on the global libraries and utility functions available to you in JavaScript.
Inputs
The JavaScript code you want to execute. This can be any valid JavaScript code.
Configs
Max number of seconds for the action to finish. Maximum is 60 seconds.
Execute script in the current browser instead of a Node.js context. If enabled, your code will not be able to access third-party libraries, Momentic special utility functions, or Node.js-specific functionality.
However, you
will have access to DOM APIs such as window
and document
, which can be
used to manipulate the page directly. In addition, you can access to cookies
and local storage stored for the current domain and send
requests
using that data.
Avoid executing long-running synchronous code in the browser, which can cause the page to hang.
Was this page helpful?