Target Assertions
Last updated
Last updated
Asserts that the specified attribute of a target satisfies the given constraint
Asserts that the specified property of a target satisfies the given constraint
Asserts that the element is currently visible in the current viewport (intersecting, styles display
is not none
, visible
is not hidden
, opacity
is not 0
)
Asserts that the HTML content of the focused element satisfies the given constraint
Asserts that the bounding box (size and position) of a target satisfies the given constraint
Asserts that target's position relative to other given target
Asserts that the computed style of a target matches the given value
Asserts that a target matches a given selector or pseudo-selector
Asserts that number of child elements matching a specified selector satisfies the given constraint.
Asserts that number of child elements containing a specified text satisfies the given constraint.
Asserts that the specified class value exists in the element's class attribute.
Asserts that scroll offset on the target satisfies the given constraint