public class LspsSingleSelectList extends InputComponent
driver, seleniumElement| Constructor and Description |
|---|
LspsSingleSelectList(WebElement element,
WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
|
java.lang.String |
getSelection()
Returns the current selection.
|
void |
select(java.lang.String text)
Selects a single item with given text.
|
java.lang.String |
toString() |
checkNotReadOnly, clearElementClientSide, getLabel, isReadOnly, isRequiredas, click, click, doubleClick, extractedSeleniumIfTestBench, extractedSeleniumIfTestBench, focus, getAttribute, getCaption, getClassNames, getErrorMessage, getHint, getId, getModelingId, getText, hasClassName, isEnabled, isValid, isVisible, rightClick, scrollIntoView, sleep, toHTML, toInnerHTML, webElementsByLspsId$, actions, clickButton, contains, createIdLocator, findAllByAttributeValue, findAllByClassname, findAllByFormId, findAllById, findAllByIdPrefix, findAllByLspsId, findAllByTextContent, findAllByXpath, findByAttributeValue, findByClassname, findByFormId, findById, findByIdPrefix, findByLspsId, findByTextContent, findByXpath, findCaptionByTextContent, findElement, findElements, findNthByTag, getDriver, getLspsCommandExecutor, waitForVaadin, webElementsByExactTextContent, webElementsByFormId, webElementsById, webElementsByIdPrefix, webElementsByLspsFormId, webElementsByTextContent, webElementsByXpathpublic LspsSingleSelectList(WebElement element,
WebDriver driver)
public void select(java.lang.String text)
text - the text to select, not null.org.openqa.selenium.NoSuchElementException - if there is no item with given text.public java.lang.String getSelection()
@Deprecated public void clear()
java.lang.UnsupportedOperationException - alwayspublic java.lang.String toString()
toString in class InputComponentCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.