We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.common.testbench.
Interface HasPlaceholder
-
All Superinterfaces:
HasPropertySettersGetters, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement
All Known Implementing Classes:
EmailFieldElement, NumberFieldElement, PasswordFieldElement, SelectElement, TextAreaElement, TextFieldElement
public interface HasPlaceholder extends HasPropertySettersGetters
Implement by elements which support a placeholder, i.e. text shown when the field is empty.
-
-
Method Summary
All Methods Modifier and Type Method and Description default String
getPlaceholder()
Gets the placeholder for the element.
-
Methods inherited from interface com.vaadin.testbench.HasPropertySettersGetters
getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, setProperty, setProperty, setProperty, setProperty
-
-
-
-
Method Detail
-
getPlaceholder
default String getPlaceholder()
Gets the placeholder for the element.
Returns:
the placeholder or an empty string if there is no placeholder
-
-