Skip to main content
DemoZalo 0862020654

Interaction

Attribute Value

Get, set, or remove element attributes

Block type: attribute-value

The Attribute Value 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
waitForSelectorbooleanfalseWait for selector to appear
waitSelectorTimeoutnumber5000Selector wait timeout (ms)
markElbooleanfalseHighlight element
multiplebooleanfalseSelect multiple elements
actionselectgetAction

Example: get

getsetremove
attributeNamerequiredstring—Attribute name
attributeValuestring—Value to set
addExtraRowbooleanfalseAdd extra row in table
extraRowValuestring—Extra row value
saveDatabooleantrueInsert into the workflow table
dataColumnstring—Table column name
assignVariablebooleanfalseAssign to variable
variableNamestring—Variable name

Outputs

  • valuestring

    Attribute value