Package io.jmix.masquerade.component
Class AbstractComponent<T>
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractComponent<T>
- Type Parameters:
T- inheritor class type
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<T>
- Direct Known Subclasses:
AbstractCheckbox,AbstractDetails,AbstractDropdownComponent,AbstractField,AbstractMenu,Accordion,Button,DataGrid,RadioButtonGroup,TabSheet,TabSheet.Tab,Unknown
public abstract class AbstractComponent<T>
extends AbstractSpecificConditionHandler<T>
implements ByLocator
Abstract class for web-element wrappers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.openqa.selenium.Byprotected com.codeborne.selenide.SelenideElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.BygetBy()com.codeborne.selenide.SelenideElementMethods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
check, 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
-
Field Details
-
by
protected org.openqa.selenium.By by -
wrappedElement
protected com.codeborne.selenide.SelenideElement wrappedElement
-
-
Constructor Details
-
AbstractComponent
protected AbstractComponent(org.openqa.selenium.By by)
-
-
Method Details
-
getBy
public org.openqa.selenium.By getBy() -
getDelegate
public com.codeborne.selenide.SelenideElement getDelegate()- Specified by:
getDelegatein interfaceSelenideElementWrapper<T>- Returns:
- original wrapped
SelenideElement
-