Select Text
Browser NodeSelect all text within an element
Overview
The Select Text node selects all text content within an element. This is useful for replacing content, or triggering selection-based events and UI updates.
Parameters
Configuration options for this node
SelectorSelector
Required
The element containing text to select. Use the Selector Picker.
Example:
#content-area, .editor-text, getByRole('textbox')ForceToggle
Bypass actionability checks (visibility, enabled state)
Default:
falseTimeoutNumber
Maximum time to wait for the element in milliseconds
Default:
30000When to Use
Replace All Content
Select all text in an input, then type to replace it completely. Alternative to clearing and filling.
Trigger Selection Events
Some applications show toolbars or menus when text is selected. Use Select Text to trigger these selection-based UI elements.
Usage Examples
Example 1: Replace Input Content
Select all then type to replace
Workflow sequence:
- Focus Element: #email-input
- Select Text: #email-input
- Type Keys: New content replaces old
Example 2: Show Selection Menu
Trigger a context menu on selection
Workflow sequence:
- Select Text: .editable-paragraph
- Wait for Element: .selection-toolbar (appears on selection)
- Click: .toolbar-button (e.g., Bold, Link, etc.)
Best Practices
Prefer Extract Text for Reading
If you just want to read text content, use Extract Text instead. Select Text is for when you need the text actually selected in the browser (for replacement, selection toolbars, etc.).
Focus May Be Required
Some elements need focus before text can be selected. Add a Focus Element node before Select Text if the selection doesn't work.