wpf_assert
Assert a WPF element's dependency-property value with an exact invariant-string comparison (use {null} for null) and fail on mismatch; target by element handle or exact automation ID.
Instructions
Assert an element's dependency-property value using an exact ordinal comparison of its invariant string value; use {null} for null. Throws on mismatch. Successful assertions are saved while recording. Use wpf_wait_for_element first for asynchronous changes. Target by exactly one of element_handle or automation_id (exact, case-sensitive AutomationProperties.AutomationId). Use root_handle with automation_id to scope lookup; missing or duplicate IDs fail before input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_handle | No | ||
| automation_id | No | ||
| property_name | Yes | ||
| element_handle | No | ||
| expected_value | Yes |