Skip to main content
DemoZalo 0862020654

Interaction

Get Text

Get text from an element

Block type: get-text

The Get Text 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
regexstring—Regex to extract from text
prefixTextstring—Prefix text
suffixTextstring—Suffix text
includeTagsbooleanfalseInclude HTML tags
useTextContentbooleanfalseUse textContent instead of innerText
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

  • textstring

    Extracted text