PrompteryxBeta
    ⌘K
    PlatformSupport
    Menu
    IntroductionInstall Desktop & extensionQuick StartPlatform Overview
    OverviewWhat you can makeAI Browser Agent in the chatModels and AutoConnectorsSchedulesProjectsExplore and publishingShare linksMemory and SkillsPersonal agent (beta)Welcome, settings and skinsPlans, credits and top-upsPrompteryx DesktopGroups (pilot)Phone app (early access)
    OverviewCreating WorkflowsTesting & DebuggingScheduling
    OverviewGetting StartedCommandsRecordingSettingsStructured OutputParallel AgentsTips & Best Practices
    OverviewInstallationSidebar AgentUsing Attached FilesExecute on Current TabExporting to Visual Studio
    Overview
    OverviewOpen PageClickClick CoordinatesFillExtract TextScreenshotWaitPress KeyFocus ElementBlur ElementSelect TextHighlight ElementSet ViewportGet Bounding BoxScrollHoverSelect OptionAssertionsCookiesEvaluate JavaScriptExample Workflows
    OverviewPrompteryx Browser AgentOpenAI
    OverviewSchedule TriggerWebhook Trigger
    OverviewGoogle SheetsGoogle CalendarConnect Hub (3,000+ apps)Example Workflows
    AI Vision SettingsChrome Automation ProfilesCloud BrowserBrowser Profiles & Persistent ContextVideo RecordingExecution LogsSharing & CollaborationEdit History
    Selectors GuideVariables
    Start hereGet an API keyRun the AI browser agentDrive a cloud browserRun workflows from anywhereUse connected apps (Connect Hub)SDK (TypeScript)CLIMCP for AI assistants
    REST APIWebhooksMCP toolsCloud Browser APICloud Browser quickstartMigrate from Browserbasen8nZapierMake.com

    Need help? Contact Support

    1. Documentation
    2. Nodes
    3. Browser Actions
    4. Select Text

    Select Text

    Browser Node

    Select 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
    Selector
    Selector
    Required

    The element containing text to select. Use the Selector Picker.

    Example: #content-area, .editor-text, getByRole('textbox')
    Force
    Toggle

    Bypass actionability checks (visibility, enabled state)

    Default: false
    Timeout
    Number

    Maximum time to wait for the element in milliseconds

    Default: 30000

    When 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:

    1. Focus Element: #email-input
    2. Select Text: #email-input
    3. Type Keys: New content replaces old
    Example 2: Show Selection Menu
    Trigger a context menu on selection

    Workflow sequence:

    1. Select Text: .editable-paragraph
    2. Wait for Element: .selection-toolbar (appears on selection)
    3. 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.

    Related Documentation

    Extract Text Node

    Get text content

    Press Key Node

    Copy with Ctrl+C

    Fill Node

    Type and replace

    Focus Element

    Prepare for selection