public class PasswordFieldElement
extends com.vaadin.testbench.TestBenchElement
implements com.vaadin.testbench.HasStringValueProperty, com.vaadin.testbench.HasLabel, com.vaadin.testbench.HasPlaceholder, com.vaadin.testbench.HasHelper
<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, 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, waitgetProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, setProperty, setProperty, setProperty, setPropertypublic 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 com.vaadin.testbench.HasStringValuePropertyCopyright © 2021. All rights reserved.