Get Text Block

This block receives the text content of the element. To work correctly, you need to get the element selector and enter it in the appropriate field of the block.

Please note:

This block cannot function without an active tab. For this reason, use the Active Tab block or the New Tab block before using this one.

Below is a screenshot of the block settings:

The block supports two modes: CSS Selector and XPath. For the block to work correctly, you need to enter the element selector in the Element selector input field. To get an element selector, you can use the Element selector tool of the Goless extension.

  • Settings of the Selector options group:

    1. Multiple. Multiple element selection.

    2. Mark element. The item will not be selected if it was selected earlier.

    3. Wait for selector. Wait for the selector to be received. When you select this element, you can enter the timeout of the selector.

  • Regex. Match the fetched text to the regex.

  • Text prefix. Adds a prefix to the received text. The resulting text will start with your character set.

  • Textsuffix. Adds a suffix to the received text. The resulting text will end with your character set.

  • Include HTML tags. Add the element's HTML markup inside the text.

  • Use textContent. Get all the text from the element even if the text is not shown.

  • Assign to variable. Assign text to a variable.

  • Insert to table. Assign text to a table column. This setting is usually used in cycles where the rows of the internal workflow table are filled in sequentially.

  • Add extra row. Adding the value to the selected column.

Last updated