Package com.vaadin.testbench.elements
Class ColorPickerPreviewElement
- java.lang.Object
-
- com.vaadin.testbench.AbstractHasTestBenchCommandExecutor
-
- com.vaadin.testbench.TestBenchElement
-
- com.vaadin.testbench.elementsbase.AbstractElement
-
- com.vaadin.testbench.elements.AbstractComponentElement
-
- com.vaadin.testbench.elements.AbstractComponentContainerElement
-
- com.vaadin.testbench.elements.AbstractLayoutElement
-
- com.vaadin.testbench.elements.CssLayoutElement
-
- com.vaadin.testbench.elements.ColorPickerPreviewElement
-
- All Implemented Interfaces:
com.vaadin.testbench.commands.CanCompareScreenshots,com.vaadin.testbench.commands.CanWaitForVaadin,com.vaadin.testbench.commands.TestBenchElementCommands,com.vaadin.testbench.HasDriver,com.vaadin.testbench.HasSearchContext,com.vaadin.testbench.HasTestBenchCommandExecutor,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public class ColorPickerPreviewElement extends CssLayoutElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.testbench.elements.AbstractComponentElement
AbstractComponentElement.ReadOnlyException
-
-
Constructor Summary
Constructors Constructor Description ColorPickerPreviewElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetColorFieldContainsErrors()Get whether TextField in ColorPickerPreview has validation errors.StringgetColorFieldValue()Get the value of the input element TextField in ColorPickerPreview.org.openqa.selenium.WebElementgetColorTextField()voidsetColorTextFieldValue(String value)Set value of TextField in ColorPickerPreview.-
Methods inherited from class com.vaadin.testbench.elements.AbstractComponentElement
getCaption, getHTML, getStyleAttribute, isReadOnly
-
Methods inherited from class com.vaadin.testbench.TestBenchElement
clear, click, click, clickHiddenElement, compareScreen, compareScreen, compareScreen, contextClick, doubleClick, equals, findElement, findElements, focus, getAccessibleName, getAriaRole, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDomAttribute, getDriver, getId, getLocation, getRect, getScreenshotAs, getShadowRoot, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isFocused, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, showTooltip, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
-
Methods inherited from class com.vaadin.testbench.AbstractHasTestBenchCommandExecutor
$, $$, isElementPresent, isElementPresent
-
-
-
-
Method Detail
-
getColorFieldContainsErrors
public boolean getColorFieldContainsErrors()
Get whether TextField in ColorPickerPreview has validation errors.- Returns:
- true if field has errors, false otherwise
- Since:
- 8.4
-
getColorFieldValue
public String getColorFieldValue()
Get the value of the input element TextField in ColorPickerPreview.- Returns:
- the value of the attribute 'value' of the input element
- Since:
- 8.4
-
setColorTextFieldValue
public void setColorTextFieldValue(String value)
Set value of TextField in ColorPickerPreview. Any existing value in the field is replaced.- Parameters:
value- text to insert- Since:
- 8.4
-
getColorTextField
public org.openqa.selenium.WebElement getColorTextField()
- Returns:
WebElementrepresenting TextField in ColorPickerPreviewComponent- Since:
- 8.4
-
-