Package io.jmix.masquerade.component
Class FileUploadField
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<FileUploadField>
io.jmix.masquerade.component.AbstractComponent<FileUploadField>
io.jmix.masquerade.component.AbstractUpload<FileUploadField>
io.jmix.masquerade.component.FileUploadField
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<FileUploadField>
Web-element wrapper for file upload field.
-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractUpload
UPLOAD_INPUT_SELECTORFields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementprotected Stringresolve(SpecificCondition condition) Resolves the passedSpecificConditioninto aSpecificCheckthat describes how it must be checked for the current handler.Methods inherited from class io.jmix.masquerade.component.AbstractUpload
getInputDelegate, setValueMethods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, getDelegateMethods 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
-
FileUploadField
public FileUploadField(org.openqa.selenium.By by)
-
-
Method Details
-
resolve
Description copied from interface:SpecificConditionHandlerResolves the passedSpecificConditioninto aSpecificCheckthat describes how it must be checked for the current handler. The actual verdict is computed centrally bySpecificCondition.check(com.codeborne.selenide.Driver, org.openqa.selenium.WebElement).- Specified by:
resolvein interfaceSpecificConditionHandler- Overrides:
resolvein classAbstractSpecificConditionHandler<FileUploadField>- Parameters:
condition- condition to resolve- Returns:
- a
SpecificCheckdescribing how to check the passed condition
-
getLabelDelegate
protected com.codeborne.selenide.SelenideElement getLabelDelegate()- Returns:
SelenideElementof a label web-element
-
getUploadButtonCssSelector
- Specified by:
getUploadButtonCssSelectorin classAbstractUpload<FileUploadField>- Returns:
- CSS selector of the upload button
-