ElementPropertyWithNumericalBoundaries¶
-
public interface
ElementPropertyWithNumericalBoundariesextends ElementProperty¶ Used to define a constraint on a number of elements
Methods¶
orLess¶
-
ElementProperty
orLess()¶ Given the a property and and a count of it, returns a property equivalent to at most the count of that property. This works only with specific properties. For example: div.that(hasNChildren(2).orLess())
Returns: a property equivalent to at most the count of that property
orMore¶
-
ElementProperty
orMore()¶ Given the a property and and a count of it, returns a property equivalent to at least the count of that property. This works only with specific properties. For example: div.that(hasNChildren(2).orMore())
Returns: a property equivalent to at least the count of that property