Node type browser_waitForSelector
Wait for a selector to match before continuing to the next step.

Captured in the English interface of MoreLogin Desktop V2.73.101.
These fields belong in data.browserUi.inputs.
| Field | Type or values | Schema required | Execution default | Description and bounds |
|---|---|---|---|---|
selectorRadio | "CSS" / "XPath" (supports variable references) | No | "CSS" | Selector type. Editor initial value "CSS" |
selector | string | No | — | Selector |
serial | WorkflowNumber | No | 1 | Element index; integer; minimum after resolution: 1. Editor initial value 1 |
isShow | boolean (supports variable references) | No | true | Require element to be visible. Editor initial value true |
maxWaitMs | WorkflowNumber | No | 10000 | Maximum wait time (ms); minimum after resolution: 1. Editor initial value 10000 |
- Required
selector - selector must be non-empty. maxWaitMs is the wait limit. On timeout, the node fails; it does not return found:false.
- Validation code
RPA_NODE_INPUT_INVALID - selector is required. isShow=true also requires the element to be visible; false requires only that it exists. maxWaitMs is the search limit.
- Validation code
RPA_NODE_INPUT_INVALID
| Field | Allowed forms |
|---|---|
selectorRadio | literal, template |
selector | literal, template |
serial | literal, numericExpression |
isShow | literal, template |
maxWaitMs | literal, numericExpression |
| Output field | Type or values |
|---|---|
found | true |
element | ElementRef |
matchedCount | number |
Reference published fields as ${nodeId.data.field}.
A complete node object for a workflow's nodes array or another node's blocks.
{
"id": "wait_results",
"type": "browser_waitForSelector",
"data": {
"title": "Wait for the results list",
"browserAction": "waitForSelector",
"browserUi": {
"inputs": {
"selectorRadio": "CSS",
"selector": "#results",
"isShow": true,
"maxWaitMs": 10000
},
"exception": {
"timeout": 30000,
"policy": "interrupt"
}
}
}
}