Class Spinner

  • 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 Spinner
    extends DesktopElement
    • Constructor Detail

      • Spinner

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

      • minimum

        public double minimum()
        The minimum value.
        Returns:
      • maximum

        public double maximum()
        The maximum value.
        Returns:
      • smallChange

        public double smallChange()
        The value of a small change.
        Returns:
      • isOnlyValue

        public boolean isOnlyValue()
        Flag which indicates if the "Spinner" supports range values (min-max) or only values (0-100). Only values are for example used when combining UIA3 and WinForms applications.
        Returns:
      • getValue

        public double getValue()
        Gets the current value.
        Returns:
      • setValue

        public void setValue​(double value)
        Sets the current value.
        Parameters:
        value -
      • increment

        public void increment()
        Performs increment.
      • decrement

        public void decrement()
        Performs decrement.