public class LoginOverlayElement extends TestBenchElement
<vaadin-login-overlay> element| Constructor and Description |
|---|
LoginOverlayElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
forgotPassword()
Provide a shortcut for clicking the forgot password button
|
String |
getAdditionalInformation()
Return the additional information placed in a footer
of the login element
|
String |
getDescription()
Returns the description displayed in the login element
|
TestBenchElement |
getErrorComponent()
Return the error component
|
String |
getErrorMessage()
Return the error message text.
|
String |
getErrorMessageTitle()
Return the error message title.
|
ButtonElement |
getForgotPasswordButton()
Return the forgot password button
|
String |
getFormTitle()
Return the form title of the login element
|
LoginFormElement |
getLoginForm()
Returns the login form, the actual container of native html form
|
TestBenchElement |
getLoginOverlayWrapper()
Returns the container of the branding and form area
|
PasswordFieldElement |
getPasswordField()
Return the password field
|
ButtonElement |
getSubmitButton()
Return the log in button
|
String |
getTitle()
Returns the title displayed in the login overlay element
|
TestBenchElement |
getTitleComponent()
Returns the title component which is set into the title slot of the login element.
|
TextFieldElement |
getUsernameField()
Return the username field
|
boolean |
hasTitleComponent()
Checks if anything was set into the title slot
|
boolean |
isEnabled()
Returns whether the Vaadin component, that this element represents, is
enabled or not.
|
boolean |
isOpened() |
void |
submit()
Provide a shortcut for clicking the submit button
|
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, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait$, $public TestBenchElement getLoginOverlayWrapper()
public LoginFormElement getLoginForm()
public boolean isOpened()
public TextFieldElement getUsernameField()
public PasswordFieldElement getPasswordField()
public ButtonElement getSubmitButton()
public ButtonElement getForgotPasswordButton()
public TestBenchElement getErrorComponent()
public void submit()
submit in interface org.openqa.selenium.WebElementsubmit in class TestBenchElementpublic void forgotPassword()
public String getTitle()
public String getDescription()
public boolean hasTitleComponent()
public TestBenchElement getTitleComponent()
nullpublic String getFormTitle()
public String getErrorMessageTitle()
public String getErrorMessage()
public String getAdditionalInformation()
public boolean isEnabled()
TestBenchElementisEnabled in interface org.openqa.selenium.WebElementisEnabled in class TestBenchElementCopyright © 2019. All rights reserved.