@Component(value="tapirSingleSelectOption") @Scope(value="prototype") public class DefaultSeleniumSingleSelectOption extends AbstractSingleSeleniumElement implements SingleSelectOption
SingleSelectOption
.Constructor and Description |
---|
DefaultSeleniumSingleSelectOption(SingleSelect singleSelect)
Constructs a
DefaultSeleniumSingleSelectOption . |
Modifier and Type | Method and Description |
---|---|
void |
click()
Click this element.
|
String |
getLabel()
Returns the element's label.
|
boolean |
isDisplayed()
Returns true, if the element is displayed.
|
boolean |
isEnabled()
Returns true, if the element is enabled.
|
boolean |
isSelected()
Returns true, if the element is selected.
|
void |
select()
Selects the element.
|
getWebElement, setWebElement
public DefaultSeleniumSingleSelectOption(SingleSelect singleSelect)
DefaultSeleniumSingleSelectOption
.singleSelect
- the parent single selectpublic boolean isSelected()
Selectable
isSelected
in interface Selectable
public void select()
Selectable
select
in interface Selectable
public void click()
Clickable
public String getLabel()
Labeled
public boolean isEnabled()
Enabable
public boolean isDisplayed()
Displayable
isDisplayed
in interface Displayable
Copyright © 2018–2021 b+m Informatik AG. All rights reserved.