Browser Activities
Browser activities use Playwright under the hood to drive Chrome, Edge, and Firefox. They support modern web automation: tab management, dialog handling, file uploads/downloads, drag & drop, JavaScript execution, and screenshot capture. All browser activities can share a session via Browser Session ID.
Click ElementClickElement
Click a web page element using a CSS or XPath selector.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS selector (e.g., #submit, .btn-primary) or XPath (e.g., //button[text()='Submit']) |
WaitForReady | Boolean | No | True | Wait for the element to be ready before clicking. |
InputMethod | string | No | Playwright | How the click is dispatched: Playwright (native interaction), JavaScript (el.click()), or DOMEvent (dispatchEvent). Allowed: Playwright, JavaScript, DOMEvent |
ClickType | string | No | Single | Type of click to perform. Allowed: Single, Double |
MouseButton | string | No | Left | Mouse button to use. Allowed: Left, Right, Middle |
Activate | Boolean | No | False | Bring the browser window to the foreground before clicking. |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Close BrowserCloseBrowser
Close the browser and end the browser session.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
BrowserSessionId | string | No | — | Browser session ID to close (auto-detected if omitted) |
Execute JavaScriptExecuteJavaScript
Execute JavaScript code in the context of the current browser page.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Script | string | Yes | — | JavaScript code to execute in the page context |
Result | string | No | — | Variable to store the script return value |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Extract Web TableExtractWebTable
Extract data from a web table into a DataTable variable.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS/XPath selector for the table, row, or cell element. |
RowSelector | string | No | tr | CSS selector for rows inside the table (e.g., tr, tbody tr). |
CellSelector | string | No | td,th | CSS selector for row cells (e.g., td, th, td.cell-class). |
HeaderSelector | string | No | th | CSS selector for header cells used as DataTable column names. |
IncludeHeaderRow | Boolean | No | False | When true, the detected header row is also kept as first data row. |
RowIndex | Int32 | No | -1 | Extract a single data row by zero-based index. Use -1 for all rows. |
ColumnIndex | Int32 | No | -1 | Extract a single column by zero-based index. Use -1 for all columns. |
OutputVariable | string | Yes | — | Variable name to store the extracted DataTable. |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted). |
Get Element TextGetElementText
Get the text content of a web page element using a CSS or XPath selector.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS or XPath selector for the element |
OutputVariable | string | No | — | Variable to store the extracted text |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Hover ElementHoverElement
Hover the mouse over a web element to trigger hover effects or tooltips.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS or XPath selector for the element to hover over |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Launch BrowserLaunch Browser
Launch a browser. Child activities execute within this browser scope.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | No | — | Application-level selector to identify the browser window |
Url | string | No | — | The URL to navigate to |
BrowserType | string | No | Chrome | Browser engine to use Allowed: Chrome, Chromium, Firefox, Webkit, Edge |
Open | Boolean | No | False | Always open a new browser instance (otherwise reuse existing session). |
Close | Boolean | No | True | Close browser after completing child activities. |
MaximizeWindow | Boolean | No | False | Maximize the browser window after launch. |
WaitForReady | Boolean | No | True | Wait for the browser page to be ready for input. |
CdpPort | Int32 | No | 0 | Chrome DevTools Protocol port for attaching to an existing browser. 0 = auto-discover (tries 9222-9224). The browser must be launched with --remote-debugging-port= |
BrowserSessionIdInput | string | No | — | Browser session ID to reuse when Open is false |
BrowserSessionIdOutput | string | No | browserSession | Variable to store the resolved browser session ID |
Select OptionSelectOption
Select an option from a dropdown or select element by value, label, or index.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS or XPath selector for the select/dropdown element |
Value | string | Yes | — | The value, label, or index to select |
SelectBy | string | No | value | How to match the option: value, label, or index Allowed: value, label, index |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Take ScreenshotTakeScreenshot
Capture a screenshot of the current page or a specific element.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
FilePath | string | Yes | — | Folder where the screenshot will be saved (auto-named: Screenshot_ddmmyyyy_hhmm.png) |
OutputPath | string | No | — | Variable to store the full screenshot file path |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Type Into ElementTypeIntoElement
Type text into a web page input field using a CSS or XPath selector.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS selector (e.g., #email, .input-field) or XPath for the input element |
Text | string | Yes | — | Text to type into the element |
InputMethod | string | No | Simulate | Simulate fills instantly; SendKeys types key-by-key. Allowed: Simulate, SendKeys |
ClearBefore | Boolean | No | False | Clear existing text before typing. |
DelayBetweenKeys | int | No | 0 | Delay in milliseconds between each keystroke (SendKeys mode). |
Activate | Boolean | No | False | Bring the browser window to the foreground before typing. |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |
Wait For Web ElementWaitForWebElement
Wait until a web element matching the selector becomes visible on the page.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selector | string | Yes | — | CSS or XPath selector for the element to wait for |
State | string | No | Appear | Element state to wait for. Allowed: Appear, Disappear, Visible, Enabled, Exists, Clickable |
ElementFound | bool | No | — | Variable to store whether element was found |
BrowserSessionId | string | No | — | Browser session ID (auto-detected if omitted) |