Skip to main content

Select Text

Selects the text from an HTML input or textarea.

Category: Web Element Interaction · Group: Web · Activity name: SelectText

The SelectText activity in the designer

Example

SelectText("<selector>", 0, selectorEnd=0)

Inputs

NameTypeRequiredDefaultDescription
SelectorstringYesCSS selector or XPath to identify the input or textarea.
Selection StartintegerYesThe 0-based index of the first selected character.
Selection EndintegerYesThe 0-based index of the character after the last selected character.