Class MuiSliderThumbV5

  • All Implemented Interfaces:
    MuiComponent, com.github.grossopa.selenium.core.component.WebComponent, org.openqa.selenium.interactions.Locatable, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsDriver, org.openqa.selenium.WrapsElement

    public class MuiSliderThumbV5
    extends MuiSliderThumb
    The Thumb element of MuiSliderV5
    Since:
    1.7
    Author:
    Jack Yin
    See Also:
    https://mui.com/components/slider/
    • Constructor Summary

      Constructors 
      Constructor Description
      MuiSliderThumbV5​(org.openqa.selenium.WebElement element, com.github.grossopa.selenium.core.ComponentWebDriver driver, MuiConfig config)
      Constructs MuiSliderThumb instance with the delegated element and root driver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.openqa.selenium.WebElement getInputElement()
      In Material UI V5 all the related attributes of the Thumb have been moved from the top level to inner input.
      String getMaxValue()
      Gets the raw max value.
      String getMinValue()
      Gets the raw min value.
      String getOrientation()
      Gets the orientation of current thumb from attribute "aria-orientation".
      String getValue()
      Gets the raw value.
      String getValueText()
      Gets the value text.
      Set<MuiVersion> versions()
      Gets all the supported versions
      • Methods inherited from class com.github.grossopa.selenium.core.component.DefaultWebComponent

        as, attributeContains, driver, findComponent, findComponentAs, findComponents, findComponentsAs, findTextNodes, getId, isFocused, outerHTML, styleContains, to
      • Methods inherited from class com.github.grossopa.selenium.core.component.AbstractDelegatedWebElement

        clear, click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCoordinates, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getScreenshotAs, getShadowRoot, getSize, getTagName, getText, getWrappedDriver, getWrappedElement, isDisplayed, isSelected, sendKeys, submit
      • Methods inherited from interface org.openqa.selenium.interactions.Locatable

        getCoordinates
      • Methods inherited from interface org.openqa.selenium.TakesScreenshot

        getScreenshotAs
      • Methods inherited from interface com.github.grossopa.selenium.core.component.WebComponent

        findElement, findElements
      • Methods inherited from interface org.openqa.selenium.WebElement

        clear, click, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isSelected, sendKeys, submit
      • Methods inherited from interface org.openqa.selenium.WrapsDriver

        getWrappedDriver
      • Methods inherited from interface org.openqa.selenium.WrapsElement

        getWrappedElement
    • Constructor Detail

      • MuiSliderThumbV5

        public MuiSliderThumbV5​(org.openqa.selenium.WebElement element,
                                com.github.grossopa.selenium.core.ComponentWebDriver driver,
                                MuiConfig config)
        Constructs MuiSliderThumb instance with the delegated element and root driver
        Parameters:
        element - the delegated element
        driver - the root driver
        config - the mui configuration instance
    • Method Detail

      • getOrientation

        public String getOrientation()
        Gets the orientation of current thumb from attribute "aria-orientation". possible values are "horizontal" and "vertical".
        Overrides:
        getOrientation in class MuiSliderThumb
        Returns:
        the orientation of current thumb. possible values are "horizontal" and "vertical".
      • getInputElement

        protected org.openqa.selenium.WebElement getInputElement()
        In Material UI V5 all the related attributes of the Thumb have been moved from the top level to inner input.
        Returns:
        the inner input element