Wait until a named HTML attribute exists and has the exact expected value.
Use
Wait until a named HTML attribute exists and has the exact expected value.
Connect Element from Wait for Element. For a status indicator, set Attribute name to data-state and Expected value to ready. Comparison uses the DOM attribute string and respects case. An empty expected value matches a present, empty attribute. A missing attribute keeps waiting until timeout.
Input connectors
“Required” means that the connector itself is mandatory. For non-required connectors, the listed setting or default can supply the value.
| ID | Label | Type | Required | Resolution and limits |
|---|---|---|---|---|
fire | Fire | fire | No | Starts the action when the signal arrives. |
element | Element | text | Yes | No fallback |
attribute | Attribute name | text | No | Fallback: setting, then data-testid; at most 256 UTF-8 bytes |
expected | Expected value | text | No | Fallback: setting, then submit; at most 8192 UTF-8 bytes; empty text allowed; multiline text allowed |
timeoutMs | Timeout (ms) | number | No | Fallback: setting, then 5000; range 10 through 120000 |
Settings and precedence
For every same-named input, the Workflow Connector Guide applies exactly: a connected input wins, then the saved setting, and only then the documented default. An explicitly connected empty or invalid value is therefore not silently replaced by the setting.
| ID | Label | Control | Default | Limits |
|---|---|---|---|---|
attribute | Attribute name | field | data-testid | at most 256 UTF-8 bytes |
expected | Expected value | field | submit | at most 8192 UTF-8 bytes; empty text allowed; multiline text allowed |
timeoutMs | Timeout (ms) | field | 5000 | range 10 through 120000 |
Output connectors
| ID | Label | Type and meaning |
|---|---|---|
matched | Matched | boolean |
fire | Fire | Becomes true only after every output is valid. |
Errors and recovery
- If input is missing, invalid, or mistyped, the workflow stops before the browser is opened or changed. Correct the highlighted connector or setting.
- If Browser Automation is unavailable, update Nodestly and this official add-on, restart the app, and run the workflow again.
- If a browser session, page, element, or download is no longer active, reconnect the matching output from an earlier successful Browser block in the same run.
- If the website is unavailable or not allowed, check the URL and website, approve any confirmation prompt, and increase the timeout if needed.
- If the same valid input fails again, update Nodestly and this official add-on before trying again.
For every error, the workflow stops and marks this block. No partial outputs appear and Fire is not emitted.
Safety boundary
Browser sessions, pages, elements, and downloads remain tied to the current workflow run. Nodestly checks the configured limits, timeouts, cancellation, confirmation, and results.
