Class Thumb

  • All Implemented Interfaces:
    org.openqa.selenium.interactions.Locatable, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsDriver

    public class Thumb
    extends DesktopElement
    • Constructor Detail

      • Thumb

        public Thumb​(org.openqa.selenium.WebElement element)
    • Method Detail

      • slideHorizontally

        public void slideHorizontally​(int distance)
        Moves the slider horizontally.
        Parameters:
        distance - The distance to move the slider, + for right, - for left.
      • slideVertically

        public void slideVertically​(int distance)
        Moves the slider vertically.
        Parameters:
        distance - The distance to move the slider, + for down, - for up.