@Component(value="tapirCheckboxGroup") @Scope(value="prototype") public class DefaultSeleniumCheckboxGroup extends AbstractMultiSeleniumElement implements CheckboxGroup
CheckboxGroup
.Checkbox
.Constructor and Description |
---|
DefaultSeleniumCheckboxGroup() |
Modifier and Type | Method and Description |
---|---|
List<Checkbox> |
findElements(Predicate<? super Checkbox> predicate)
Returns all elements which match the given predicate
|
List<Checkbox> |
findElementsByLabel(String aLabel)
Returns all elements which have the given label.
|
Checkbox |
findFirstElement(Predicate<? super Checkbox> predicate)
Returns the first element which matches the given predicate
|
Checkbox |
findFirstElementByLabel(String aLabel)
Returns the first element which has the given label
|
List<Checkbox> |
getElements()
Returns all elements
|
protected List<Checkbox> |
getElementsInternal(Predicate<? super Checkbox> predicate,
boolean returnOnFirstMatch) |
List<Checkbox> |
getSelectedElements()
Returns the selected elements.
|
boolean |
isDisplayed()
Returns true, if the element is displayed.
|
getWebElements, setWebElements
protected List<Checkbox> getElementsInternal(Predicate<? super Checkbox> predicate, boolean returnOnFirstMatch)
public boolean isDisplayed()
Displayable
isDisplayed
in interface Displayable
public List<Checkbox> getElements()
ElementCollection
getElements
in interface ElementCollection<Checkbox>
public List<Checkbox> getSelectedElements()
MultiSelectable
getSelectedElements
in interface MultiSelectable<Checkbox>
public List<Checkbox> findElements(Predicate<? super Checkbox> predicate)
ElementCollection
findElements
in interface ElementCollection<Checkbox>
predicate
- the predicate for finding the elementspublic Checkbox findFirstElement(Predicate<? super Checkbox> predicate)
ElementCollection
findFirstElement
in interface ElementCollection<Checkbox>
predicate
- the predicate for selecting the elementpublic List<Checkbox> findElementsByLabel(String aLabel)
CheckboxGroup
findElementsByLabel
in interface CheckboxGroup
aLabel
- the label for finding the elementspublic Checkbox findFirstElementByLabel(String aLabel)
CheckboxGroup
findFirstElementByLabel
in interface CheckboxGroup
aLabel
- the label for selecting the elementCopyright © 2018–2021 b+m Informatik AG. All rights reserved.