Class CoralRadio

    • Constructor Detail

      • CoralRadio

        public CoralRadio​(com.codeborne.selenide.SelenideElement parent,
                          java.lang.String name)
        Parameters:
        parent - any parent element which would contains a coral-radio.
        name - filter on that name.
    • Method Detail

      • elementByValue

        public com.codeborne.selenide.SelenideElement elementByValue​(java.lang.String value)
        Parameters:
        value - to find the related radio button.
        Returns:
        the first matching element or null if not found.
      • activateByValue

        public void activateByValue​(java.lang.String value)
        Parameters:
        value - to find the related radio button.
      • hasValue

        public boolean hasValue​(java.lang.String value)
        Parameters:
        value - to find the related radio button.
        Returns:
        true if the radio group has such possible value