assert_element_count
Check that the number of elements matching a selector equals an expected count, validating page structure during browser automation.
Instructions
Assert number of elements matching selector equals expected count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| selector | Yes | ||
| expected_count | Yes |