Interface OuiaComponent
-
public interface OuiaComponentThis represents OUIA compliant components (https://ouia.readthedocs.io/en/latest/README.html#ouia-component) OUIA compliant elements are leveraged by advanced UI testing tools
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidinitOuiaComponentAttributes()Initializes OUIA attributes of given elementConsumer<OuiaAttribute>ouiaAttributeRenderer()Renderer of any OUIA attribute.OuiaComponentIdAttributeouiaComponentId()Returns 'data-ouia-component-id' attribute for given elementOuiaComponentTypeAttributeouiaComponentType()Returns 'data-ouia-component-type' attribute for given element
-
-
-
Method Detail
-
initOuiaComponentAttributes
default void initOuiaComponentAttributes()
Initializes OUIA attributes of given element
-
ouiaComponentType
OuiaComponentTypeAttribute ouiaComponentType()
Returns 'data-ouia-component-type' attribute for given element- Returns:
- 'data-ouia-component-type' attribute value
-
ouiaComponentId
OuiaComponentIdAttribute ouiaComponentId()
Returns 'data-ouia-component-id' attribute for given element- Returns:
- 'data-ouia-component-id' attribute value
-
ouiaAttributeRenderer
Consumer<OuiaAttribute> ouiaAttributeRenderer()
Renderer of any OUIA attribute. Invoking of this renderer should display given attribute in produced html.- Returns:
- OUIA attribute renderer
-
-