hyTags
HomeHome DocumentationDocumentation

selection-get-text

Gets the text content of the selected element.
Parameter
Type
Description
return
string
Text content as a string
Test Case:Get text content
    <div>Hello World</div>
    
    <selection-get-text>
    <assert-equal value="Hello World" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed