Skip to main content

wait_for_selector

Waiting

Waits for an element matching the selector to appear.

Parameters

Parameter Type Required Default Description
selector string Yes Element selector using type=value format
iframe string No CSS selector for iframe context
timeout number No 30000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON

    {
  "command": "wait_for_selector",
  "params": {
    "selector": "css=.product-card",
    "iframe": "",
    "timeout": 30000
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?