assert_element_count
Assert that the count of elements matching a selector equals the expected value, validating page structure and element presence.
Instructions
Assert number of elements matching selector equals expected count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| by | No | css | |
| expected_count | Yes |