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

public interface HasPlaceholder extends HasPropertySettersGetters

Implement by elements which support a placeholder, i.e. text shown when the field is empty.

  • Method Details

    • getPlaceholder

      default String getPlaceholder()

      Gets the placeholder for the element.

      Returns:

      the placeholder or an empty string if there is no placeholder