public class Thumb extends DesktopElement
Constructor and Description |
---|
Thumb(org.openqa.selenium.WebElement element) |
Modifier and Type | Method and Description |
---|---|
void |
slideHorizontally(int distance)
Moves the slider horizontally.
|
void |
slideVertically(int distance)
Moves the slider vertically.
|
callValueCommand, callValueCommand, callValueCommand, callValueCommand, callValueCommand, callValueCommand, callVoidCommand, createLocalDateTimeFromResponse, createRemoteWebElementFromResponse, createRemoteWebElementsFromResponse, exe, getActiveWindow, getName, parseDateTime, parseDouble
clear, click, equals, execute, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, getAttribute, getCoordinates, getCssValue, getId, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedDriver, hashCode, isDisplayed, isEnabled, isSelected, sendKeys, setFileDetector, setFoundBy, setId, setParent, submit, toJson, toString
public void slideHorizontally(int distance)
distance
- The distance to move the slider, + for right, - for left.public void slideVertically(int distance)
distance
- The distance to move the slider, + for down, - for up.Copyright © 2021. All rights reserved.