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 Details

    • Spinner

      public Spinner()
  • Method Details

    • getInput

      public org.openqa.selenium.WebElement getInput()
      Description copied from class: AbstractInputComponent
      The input element reference.
      Overrides:
      getInput in class AbstractInputComponent
      Returns:
      the WebElement representing the input.
    • 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
    • setValue

      public void setValue(Serializable value)
      Overrides:
      setValue in class InputText
    • 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