Package io.jmix.masquerade.component
Class SelectOverlay
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractOverlay<SelectOverlay,Select>
io.jmix.masquerade.component.SelectOverlay
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<SelectOverlay>
Web-element wrapper for select overlay. Supports items selecting.
-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractOverlay
by, parentComponent, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jmix.masquerade.component.AbstractOverlay
check, getBy, getDelegate, getParentComponent, getVisibleItems, scrollDown, scrollUpMethods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHaveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.masquerade.sys.SelenideElementWrapper
disabled, displayed, enabled, exists, shouldHaveAttribute, shouldHaveAttributeValue, shouldHaveCss, shouldHaveCssValue, shouldNotHaveAttribute, shouldNotHaveAttributeValue, shouldNotHaveCss, shouldNotHaveCssValue
-
Constructor Details
-
SelectOverlay
-
-
Method Details
-
select
Selects the item with the passed text in the overlay.- Parameters:
itemText- text of the item to select- Returns:
- parent select to call fluent API
-
select
Selects the item which should be found by the passedByselector.- Parameters:
itemBy-Byselector to find and select the overlay item- Returns:
- parent select to call fluent API
-
getVisibleElements
public com.codeborne.selenide.ElementsCollection getVisibleElements()- Specified by:
getVisibleElementsin classAbstractOverlay<SelectOverlay,Select> - Returns:
ElementsCollectionof the visible overlay elements
-