public class PasswordFieldElement extends TestBenchElement implements HasStringValueProperty, HasLabel, HasPlaceholder
<vaadin-password-field>
element.| Constructor and Description |
|---|
PasswordFieldElement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPasswordVisible()
Checks whether the password is shown in clear text or is hidden from
view.
|
void |
setPasswordVisible(boolean passwordVisible)
Sets whether the password should be shown in clear text or be hidden from
view.
|
void |
setValue(String string) |
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitclear, getValuegetPlaceholdergetProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, setProperty, setProperty, setProperty, setPropertyclick, findElement, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit$, $public boolean isPasswordVisible()
true if the password is shown in clear text,
false if it is hidden from viewpublic void setPasswordVisible(boolean passwordVisible)
passwordVisible - true to show the password in clear text,
false to hide the passwors from viewpublic void setValue(String string)
setValue in interface HasStringValuePropertyCopyright © 2018. All rights reserved.