Class Spinner

  • All Implemented Interfaces:
    org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

    public abstract class Spinner
    extends InputText
    Component wrapper for the PrimeFaces p:spinner.
    • Constructor Detail

      • Spinner

        public Spinner()
    • Method Detail

      • getButtonUp

        public org.openqa.selenium.WebElement getButtonUp()
        Gets the Spinner's Up button.
        Returns:
        the WebElement representing the up button
      • getButtonDown

        public org.openqa.selenium.WebElement getButtonDown()
        Gets the Spinner's Down button.
        Returns:
        the WebElement representing the down button
      • increment

        public void increment()
        Increments this spinner by one SpinnerCfg.step
      • decrement

        public void decrement()
        Decrements this spinner by one SpinnerCfg.step
      • change

        public void change()
        Fire the change event for the spinner