public class LspsCheckboxList extends InputComponent
driver, seleniumElement
Constructor and Description |
---|
LspsCheckboxList(WebElement element,
WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getSelection()
Returns the current selection.
|
void |
select(String text)
Selects a single item with given text.
|
String |
toString() |
checkNotReadOnly, clearElementClientSide, getLabel, isReadOnly, isRequired
as, 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, webElementsByXpath
public void select(String text)
text
- the text to select, not null.org.openqa.selenium.NoSuchElementException
- if there is no item with given text.public List<String> getSelection()
public String toString()
toString
in class InputComponent
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.