~4 min5 / 14

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.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS selector (e.g., #submit, .btn-primary) or XPath (e.g., //button[text()='Submit'])
WaitForReadyBooleanNoTrueWait for the element to be ready before clicking.
InputMethodstringNoPlaywrightHow the click is dispatched: Playwright (native interaction), JavaScript (el.click()), or DOMEvent (dispatchEvent). Allowed: Playwright, JavaScript, DOMEvent
ClickTypestringNoSingleType of click to perform. Allowed: Single, Double
MouseButtonstringNoLeftMouse button to use. Allowed: Left, Right, Middle
ActivateBooleanNoFalseBring the browser window to the foreground before clicking.
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Close BrowserCloseBrowser

Close the browser and end the browser session.

ParameterTypeRequiredDefaultDescription
BrowserSessionIdstringNoBrowser session ID to close (auto-detected if omitted)

Execute JavaScriptExecuteJavaScript

Execute JavaScript code in the context of the current browser page.

ParameterTypeRequiredDefaultDescription
ScriptstringYesJavaScript code to execute in the page context
ResultstringNoVariable to store the script return value
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Extract Web TableExtractWebTable

Extract data from a web table into a DataTable variable.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS/XPath selector for the table, row, or cell element.
RowSelectorstringNotrCSS selector for rows inside the table (e.g., tr, tbody tr).
CellSelectorstringNotd,thCSS selector for row cells (e.g., td, th, td.cell-class).
HeaderSelectorstringNothCSS selector for header cells used as DataTable column names.
IncludeHeaderRowBooleanNoFalseWhen true, the detected header row is also kept as first data row.
RowIndexInt32No-1Extract a single data row by zero-based index. Use -1 for all rows.
ColumnIndexInt32No-1Extract a single column by zero-based index. Use -1 for all columns.
OutputVariablestringYesVariable name to store the extracted DataTable.
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted).

Get Element TextGetElementText

Get the text content of a web page element using a CSS or XPath selector.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS or XPath selector for the element
OutputVariablestringNoVariable to store the extracted text
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Hover ElementHoverElement

Hover the mouse over a web element to trigger hover effects or tooltips.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS or XPath selector for the element to hover over
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Launch BrowserLaunch Browser

Launch a browser. Child activities execute within this browser scope.

ParameterTypeRequiredDefaultDescription
SelectorstringNoApplication-level selector to identify the browser window
UrlstringNoThe URL to navigate to
BrowserTypestringNoChromeBrowser engine to use Allowed: Chrome, Chromium, Firefox, Webkit, Edge
OpenBooleanNoFalseAlways open a new browser instance (otherwise reuse existing session).
CloseBooleanNoTrueClose browser after completing child activities.
MaximizeWindowBooleanNoFalseMaximize the browser window after launch.
WaitForReadyBooleanNoTrueWait for the browser page to be ready for input.
CdpPortInt32No0Chrome DevTools Protocol port for attaching to an existing browser. 0 = auto-discover (tries 9222-9224). The browser must be launched with --remote-debugging-port=.
BrowserSessionIdInputstringNoBrowser session ID to reuse when Open is false
BrowserSessionIdOutputstringNobrowserSessionVariable to store the resolved browser session ID

Select OptionSelectOption

Select an option from a dropdown or select element by value, label, or index.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS or XPath selector for the select/dropdown element
ValuestringYesThe value, label, or index to select
SelectBystringNovalueHow to match the option: value, label, or index Allowed: value, label, index
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Take ScreenshotTakeScreenshot

Capture a screenshot of the current page or a specific element.

ParameterTypeRequiredDefaultDescription
FilePathstringYesFolder where the screenshot will be saved (auto-named: Screenshot_ddmmyyyy_hhmm.png)
OutputPathstringNoVariable to store the full screenshot file path
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Type Into ElementTypeIntoElement

Type text into a web page input field using a CSS or XPath selector.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS selector (e.g., #email, .input-field) or XPath for the input element
TextstringYesText to type into the element
InputMethodstringNoSimulateSimulate fills instantly; SendKeys types key-by-key. Allowed: Simulate, SendKeys
ClearBeforeBooleanNoFalseClear existing text before typing.
DelayBetweenKeysintNo0Delay in milliseconds between each keystroke (SendKeys mode).
ActivateBooleanNoFalseBring the browser window to the foreground before typing.
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)

Wait For Web ElementWaitForWebElement

Wait until a web element matching the selector becomes visible on the page.

ParameterTypeRequiredDefaultDescription
SelectorstringYesCSS or XPath selector for the element to wait for
StatestringNoAppearElement state to wait for. Allowed: Appear, Disappear, Visible, Enabled, Exists, Clickable
ElementFoundboolNoVariable to store whether element was found
BrowserSessionIdstringNoBrowser session ID (auto-detected if omitted)
Was this helpful?