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.testbench.
Package com.vaadin.testbench
Interface HasLabel
All Superinterfaces:
HasPropertySettersGetters
, org.openqa.selenium.SearchContext
, org.openqa.selenium.TakesScreenshot
, org.openqa.selenium.WebElement
All Known Implementing Classes:
BigDecimalFieldElement
, CheckboxElement
, ComboBoxElement
, DatePickerElement
, DateTimePickerElement
, EmailFieldElement
, IntegerFieldElement
, MultiSelectComboBoxElement
, NumberFieldElement
, PasswordFieldElement
, SelectElement
, TextAreaElement
, TextFieldElement
Implement by elements which support a label, i.e. text shown typically inside (when field is empty) or above the field (when the field has a value).
-
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
-
getLabel
Gets the label for the element.
Returns:
the label or an empty string if there is no label
-