Package com.vaadin.testbench
Interface HasPlaceholder
- All Superinterfaces:
HasPropertySettersGetters
,org.openqa.selenium.SearchContext
,org.openqa.selenium.TakesScreenshot
,org.openqa.selenium.WebElement
- All Known Implementing Classes:
BigDecimalFieldElement
,EmailFieldElement
,InputTextElement
,IntegerFieldElement
,NumberFieldElement
,PasswordFieldElement
,SelectElement
,TextAreaElement
,TextFieldElement
Implement by elements which support a placeholder, i.e. text shown when the
field is empty.
-
Method Summary
Methods inherited from interface com.vaadin.testbench.HasPropertySettersGetters
getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, setProperty, setProperty, setProperty, setProperty
Methods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAs
Methods inherited from interface org.openqa.selenium.WebElement
clear, click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
-
Method Details
-
getPlaceholder
Gets the placeholder for the element.- Returns:
- the placeholder or an empty string if there is no placeholder
-