Class MuiSliderThumbV5
- java.lang.Object
-
- com.github.grossopa.selenium.core.component.AbstractDelegatedWebElement
-
- com.github.grossopa.selenium.core.component.DefaultWebComponent
-
- com.github.grossopa.selenium.component.mui.v4.AbstractMuiComponent
-
- com.github.grossopa.selenium.component.mui.v4.inputs.MuiSliderThumb
-
- com.github.grossopa.selenium.component.mui.v5.inputs.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 ofMuiSliderV5- Since:
- 1.7
- Author:
- Jack Yin
- See Also:
- https://mui.com/components/slider/
-
-
Field Summary
-
Fields inherited from class com.github.grossopa.selenium.component.mui.v4.inputs.MuiSliderThumb
COMPONENT_NAME, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL
-
Fields inherited from class com.github.grossopa.selenium.component.mui.v4.AbstractMuiComponent
config
-
-
Constructor Summary
Constructors Constructor Description MuiSliderThumbV5(org.openqa.selenium.WebElement element, com.github.grossopa.selenium.core.ComponentWebDriver driver, MuiConfig config)ConstructsMuiSliderThumbinstance with the delegated element and root driver
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.openqa.selenium.WebElementgetInputElement()In Material UI V5 all the related attributes of the Thumb have been moved from the top level to inner input.StringgetMaxValue()Gets the raw max value.StringgetMinValue()Gets the raw min value.StringgetOrientation()Gets the orientation of current thumb from attribute "aria-orientation".StringgetValue()Gets the raw value.StringgetValueText()Gets the value text.Set<MuiVersion>versions()Gets all the supported versions-
Methods inherited from class com.github.grossopa.selenium.component.mui.v4.inputs.MuiSliderThumb
getComponentName, getPercentage, validate
-
Methods inherited from class com.github.grossopa.selenium.component.mui.v4.AbstractMuiComponent
config, equals, hashCode, isEnabled, toString
-
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.grossopa.selenium.core.component.WebComponent
findElement, findElements
-
-
-
-
Constructor Detail
-
MuiSliderThumbV5
public MuiSliderThumbV5(org.openqa.selenium.WebElement element, com.github.grossopa.selenium.core.ComponentWebDriver driver, MuiConfig config)ConstructsMuiSliderThumbinstance with the delegated element and root driver- Parameters:
element- the delegated elementdriver- the root driverconfig- the mui configuration instance
-
-
Method Detail
-
versions
public Set<MuiVersion> versions()
Description copied from interface:MuiComponentGets all the supported versions- Specified by:
versionsin interfaceMuiComponent- Overrides:
versionsin classAbstractMuiComponent- Returns:
- all the supported versions
-
getOrientation
public String getOrientation()
Gets the orientation of current thumb from attribute "aria-orientation". possible values are "horizontal" and "vertical".- Overrides:
getOrientationin classMuiSliderThumb- Returns:
- the orientation of current thumb. possible values are "horizontal" and "vertical".
-
getValueText
public String getValueText()
Gets the value text.- Overrides:
getValueTextin classMuiSliderThumb- Returns:
- the value text
-
getMaxValue
public String getMaxValue()
Gets the raw max value.- Overrides:
getMaxValuein classMuiSliderThumb- Returns:
- the raw min value.
-
getMinValue
public String getMinValue()
Gets the raw min value.- Overrides:
getMinValuein classMuiSliderThumb- Returns:
- the raw min value.
-
getValue
public String getValue()
Gets the raw value.- Overrides:
getValuein classMuiSliderThumb- Returns:
- the raw value.
-
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
-
-