Skip to main content

get_text

Extraction

Reads the visible text content of an element.

Parameters

Parameter Type Required Default Description
selector string Yes Element selector using type=value format
output_variable string No Variable name to store result
iframe string No CSS selector for iframe context
timeout number No 5000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON

    {
  "command": "get_text",
  "params": {
    "selector": "css=.product-title",
    "output_variable": "product_title",
    "iframe": "",
    "timeout": 5000
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?