Class MuiSliderV5

  • All Implemented Interfaces:
    MuiComponent, com.github.grossopa.selenium.core.component.api.Slider<MuiSliderThumb>, com.github.grossopa.selenium.core.component.WebComponent, org.openqa.selenium.interactions.Locatable, org.openqa.selenium.internal.HasIdentity, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsDriver, org.openqa.selenium.WrapsElement

    public class MuiSliderV5
    extends MuiSlider
    Sliders allow users to make selections from a range of values.
    Since:
    1.7
    Author:
    Jack Yin
    See Also:
    https://mui.com/components/slider/#continuous-sliders
    • Constructor Detail

      • MuiSliderV5

        public MuiSliderV5​(org.openqa.selenium.WebElement element,
                           com.github.grossopa.selenium.core.ComponentWebDriver driver,
                           MuiConfig config)
        Constructs an instance with the delegated element and root driver
        Parameters:
        element - the delegated element
        driver - the root driver
        config - the Material UI configuration
      • MuiSliderV5

        public MuiSliderV5​(org.openqa.selenium.WebElement element,
                           com.github.grossopa.selenium.core.ComponentWebDriver driver,
                           MuiConfig config,
                           java.util.function.UnaryOperator<Double> inverseScaleFunction)
        Constructs an instance with the delegated element, root driver and customized scale function.
        Parameters:
        element - the delegated element
        driver - the root driver
        config - the Material UI configuration
        inverseScaleFunction - the INVERSE function of the original scale function