Assertion Nodes
Browser NodeVerify page elements, content, and states
Overview
Assertion nodes verify that elements on a page are in an expected state. If an assertion fails, the workflow stops with an error - making them perfect for validation, testing, and ensuring automations work correctly.
Assertions vs Is/Has Nodes
State Assertions
selectorElement to assert state on
#submit-btn, .error-messageassertionTypeAssertion Type: Is Visible, Is Hidden, Is Enabled, Is Disabled, Is Checked, Is Editable, Is Focused, Is Attached (in DOM), Is Empty, or Is In Viewport
Is VisiblenotNegate (NOT) — invert the assertion, e.g. Is Checked + NOT = unchecked
falsetimeoutTime to wait for the state (ms)
30000Content Assertions
selectorElement to check content of
h1, #total-price, .itemassertionTypeAssertion Type: Has Text (exact), Contains Text, Has Value (input), or Has Count (multiple elements)
Has Text (exact)expectedValueExpected Value — the text, value, or count to verify
'Welcome', '$99.00', 5matchTypeMatch Options for text and value assertions: Exact Match, Case Insensitive, or Regex Pattern
Exact MatchnotNegate (NOT) — invert the assertion
falseAttribute Assertions
selectorElement to check
img.logo, a.nav-linkassertionTypeAssertion Type: Has Attribute, Has Class, Contains Class, Has CSS Property, Has ID, Has Role (ARIA), Has Accessible Name, Has Accessible Description, or Has JS Property
Has AttributeattributeNameAttribute/Property Name — used by Has Attribute, Has CSS Property, and Has JS Property
href, data-testid, colorexpectedValueExpected attribute value (leave empty to just check existence)
https://example.com, rgb(255, 0, 0)Usage Examples
.dashboard-container.error-message.cart-item