Skip to main content
DemoZalo 0862020654

Control Flow

Element Exists

Check if an element exists on the page

Block type: element-exists

The Element Exists block’s settings panel in the workflow editor.
The block’s settings, as they appear in the editor.

Inputs

NameTypeDefaultDescription
disableBlockbooleanfalseDisable this block
descriptionstring—Node description
findByselectcssSelectorSelector type
cssSelectorxpath
selectorrequiredstring—CSS selector or XPath
markElbooleanfalseHighlight element
tryCountnumber1Number of tries
timeoutnumber500Timeout per try (ms)
throwErrorbooleanfalseThrow error if not found

Outputs

  • trueboolean

    Element exists

  • falseboolean

    Element does not exist