Skip to main content

assert_property

Assertions

Asserts that a DOM property has the expected value.

Parameters

Parameter Type Required Default Description
selector string Yes Element selector using type=value format
property string Yes DOM property name
expected_value string Yes Expected value
iframe string No CSS selector for iframe context
timeout number No 5000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON

    {
  "command": "assert_property",
  "params": {
    "selector": "css=input[type='text']",
    "property": "value",
    "expected_value": "hello",
    "iframe": "",
    "timeout": 5000
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?