Interface OuiaComponent


  • public interface OuiaComponent
    This 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 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