Skip to content

Execute JavaScript

Run JavaScript and store the result.

Web BrowserSeleniumBrowserExecuteScript

Overview

Execute JavaScript is a no-code automation step in the Web Browser category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 3 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.

What it does

Run JavaScript and store the result.

Parameters

ParameterTypeRequiredDefaultDescription
Browser instancevariable
RequiredbrowserName that identifies this browser session.
JavaScriptmultiline
Required
Example: return document.title
Supports variables
Store result invariable
Optional
Example: result

How to use Execute JavaScript

  1. 1

    Open AutoFlowRPA and drag the Execute JavaScript command from the Web Browser group onto the canvas.

  2. 2

    Set its parameters in the side panel — Execute JavaScript has 3 configurable field(s).

  3. 3

    Connect it into your workflow and press Run. Everything executes locally on your machine.

Frequently asked questions

What does the Execute JavaScript command do?

Run JavaScript and store the result.

Which group does the Execute JavaScript command belong to?

Execute JavaScript is part of the Web Browser group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.

Does the Execute JavaScript command take any parameters?

Yes — Execute JavaScript has 3 configurable field(s), all editable in the visual node editor.

More Web Browser commands

Ready to automate your busywork?

Start your free 30-day trial today. No credit card, no commitment.