Class Spinner
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
Component wrapper for the PrimeFaces
p:spinner.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchange()Fire the change event for the spinnervoidDecrements this spinner by one SpinnerCfg.steporg.openqa.selenium.WebElementGets the Spinner's Down button.org.openqa.selenium.WebElementGets the Spinner's Up button.org.openqa.selenium.WebElementgetInput()The input element reference.voidIncrements this spinner by one SpinnerCfg.stepvoidsetValue(Serializable value) Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, focus, getAssignedLabel, getAssignedLabelText, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllTextMethods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxifiedMethods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isSelected, sendKeys, submit
-
Constructor Details
-
Spinner
public Spinner()
-
-
Method Details
-
getInput
public org.openqa.selenium.WebElement getInput()Description copied from class:AbstractInputComponentThe input element reference.- Overrides:
getInputin classAbstractInputComponent- Returns:
- the
WebElementrepresenting the input.
-
getButtonUp
public org.openqa.selenium.WebElement getButtonUp()Gets the Spinner's Up button.- Returns:
- the
WebElementrepresenting the up button
-
getButtonDown
public org.openqa.selenium.WebElement getButtonDown()Gets the Spinner's Down button.- Returns:
- the
WebElementrepresenting the down button
-
setValue
-
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
-