com.vaadin.testbench.

Class ElementQuery.AttributeMatch

java.lang.Object
com.vaadin.testbench.ElementQuery.AttributeMatch

Enclosing class:

ElementQuery<T extends TestBenchElement>

public static class ElementQuery.AttributeMatch extends Object

Class for holding name, comparison, and value for matching attributes.

  • Constructor Details

    • AttributeMatch

      public 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.

      Parameters:

      name - the name of the attribute

      comparison - the comparison to use for matching

      value - 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 attribute

      operator - the operator to use for matching

      value - the value to compare with the attribute's value

    • AttributeMatch

      public 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.

      Parameters:

      name - the name of the attribute

      value - the value to exactly match against with the attribute's value

    • AttributeMatch

      public AttributeMatch(String name)

      Instantiates an attribute exists expression having the supplied attribute name.

      Parameters:

      name - the name of the attribute

  • Method Details