Class PlaywrightElementValidationsBuilder
java.lang.Object
com.shaft.gui.playwright.validation.PlaywrightElementValidationsBuilder
- All Implemented Interfaces:
ElementAssertions
-
Constructor Summary
ConstructorsConstructorDescriptionPlaywrightElementValidationsBuilder(ValidationEnums.ValidationCategory validationCategory, PlaywrightSession session, com.microsoft.playwright.Locator locator) -
Method Summary
Modifier and TypeMethodDescriptioncssProperty(String elementCssProperty) doesNotMatchReferenceImage(ValidationEnums.VisualValidationEngine visualValidationEngine) domAttribute(String domAttribute) domProperty(String domProperty) exists()isHidden()matchesReferenceImage(ValidationEnums.VisualValidationEngine visualValidationEngine) text()
-
Constructor Details
-
PlaywrightElementValidationsBuilder
public PlaywrightElementValidationsBuilder(ValidationEnums.ValidationCategory validationCategory, PlaywrightSession session, com.microsoft.playwright.Locator locator)
-
-
Method Details
-
exists
- Specified by:
existsin interfaceElementAssertions
-
doesNotExist
- Specified by:
doesNotExistin interfaceElementAssertions
-
matchesReferenceImage
- Specified by:
matchesReferenceImagein interfaceElementAssertions
-
matchesReferenceImage
public ValidationsExecutor matchesReferenceImage(ValidationEnums.VisualValidationEngine visualValidationEngine) - Specified by:
matchesReferenceImagein interfaceElementAssertions
-
doesNotMatchReferenceImage
- Specified by:
doesNotMatchReferenceImagein interfaceElementAssertions
-
doesNotMatchReferenceImage
public ValidationsExecutor doesNotMatchReferenceImage(ValidationEnums.VisualValidationEngine visualValidationEngine) - Specified by:
doesNotMatchReferenceImagein interfaceElementAssertions
-
attribute
- Specified by:
attributein interfaceElementAssertions
-
domAttribute
- Specified by:
domAttributein interfaceElementAssertions
-
domProperty
- Specified by:
domPropertyin interfaceElementAssertions
-
property
- Specified by:
propertyin interfaceElementAssertions
-
isSelected
- Specified by:
isSelectedin interfaceElementAssertions
-
isChecked
- Specified by:
isCheckedin interfaceElementAssertions
-
isVisible
- Specified by:
isVisiblein interfaceElementAssertions
-
isEnabled
- Specified by:
isEnabledin interfaceElementAssertions
-
isNotSelected
- Specified by:
isNotSelectedin interfaceElementAssertions
-
isNotChecked
- Specified by:
isNotCheckedin interfaceElementAssertions
-
isHidden
- Specified by:
isHiddenin interfaceElementAssertions
-
isDisabled
- Specified by:
isDisabledin interfaceElementAssertions
-
text
- Specified by:
textin interfaceElementAssertions
-
textTrimmed
- Specified by:
textTrimmedin interfaceElementAssertions
-
cssProperty
- Specified by:
cssPropertyin interfaceElementAssertions
-