Class SelectOneButton
java.lang.Object
org.primefaces.selenium.AbstractPrimePageFragment
org.primefaces.selenium.component.base.AbstractComponent
org.primefaces.selenium.component.base.AbstractInputComponent
org.primefaces.selenium.component.SelectOneButton
- 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:selectOneButton.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclick(org.openqa.selenium.WebElement element) voiddeselect(int index) voiddeselect(int index, boolean ignoreDeselectable) voidvoidorg.openqa.selenium.WebElementList<org.openqa.selenium.WebElement>booleanisSelected(int index) booleanisSelected(String label) booleanvoidselect(int index) voidvoidvoidvoidMethods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, getInput, 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
-
SelectOneButton
public SelectOneButton()
-
-
Method Details
-
getOptions
-
getActiveOption
public org.openqa.selenium.WebElement getActiveOption() -
getOptionLabels
-
getSelectedLabel
-
isSelected
-
isSelected
public boolean isSelected(int index) -
selectNext
public void selectNext() -
select
-
select
public void select(int index) -
selectFirst
public void selectFirst() -
selectLast
public void selectLast() -
deselect
-
deselect
-
deselect
public void deselect(int index) -
deselect
public void deselect(int index, boolean ignoreDeselectable) -
isUnselectable
public boolean isUnselectable() -
click
protected void click(org.openqa.selenium.WebElement element)
-