Package com.vaadin.testbench
Class ElementQuery.AttributeMatch
java.lang.Object
com.vaadin.testbench.ElementQuery.AttributeMatch
- Enclosing class:
- ElementQuery<T extends TestBenchElement>
Class for holding name, comparison, and value for matching attributes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Attribute matching comparisons. -
Constructor Summary
ConstructorsConstructorDescriptionAttributeMatch
(String name) Instantiates an attribute exists expression having the supplied attribute name.AttributeMatch
(String name, ElementQuery.AttributeMatch.Comparison comparison, String value) Instantiates an attribute matching expression having the supplied attribute name, comparison, and value to compare with the attribute's value.AttributeMatch
(String name, String value) Instantiates an attribute exact matching expression having the supplied attribute name and value to compare with the attribute's value.AttributeMatch
(String name, String operator, String value) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Constructor Details
-
AttributeMatch
Instantiates an attribute matching expression having the supplied attribute name, comparison, and value to compare with the attribute's value.- Parameters:
name
- the name of the attributecomparison
- the comparison to use for matchingvalue
- the value to compare with the attribute's value
-
AttributeMatch
@Deprecated(forRemoval=true, since="9.3") public AttributeMatch(String name, String operator, String value) Deprecated, for removal: This API element is subject to removal in a future version.Instantiates an attribute matching expression having the supplied attribute name, comparison, and value to compare with the attribute's value.- Parameters:
name
- the name of the attributeoperator
- the operator to use for matchingvalue
- the value to compare with the attribute's value
-
AttributeMatch
Instantiates an attribute exact matching expression having the supplied attribute name and value to compare with the attribute's value.- Parameters:
name
- the name of the attributevalue
- the value to exactly match against with the attribute's value
-
AttributeMatch
Instantiates an attribute exists expression having the supplied attribute name.- Parameters:
name
- the name of the attribute
-
-
Method Details
AttributeMatch(String, Comparison, String)