public class LoginOverlayElement
extends com.vaadin.testbench.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
|
com.vaadin.testbench.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
|
com.vaadin.testbench.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
|
com.vaadin.testbench.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() |
boolean |
isOpened() |
void |
submit()
Provide a shortcut for clicking the submit button
|
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, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementspublic com.vaadin.testbench.TestBenchElement getLoginOverlayWrapper()
public LoginFormElement getLoginForm()
public boolean isOpened()
public TextFieldElement getUsernameField()
public PasswordFieldElement getPasswordField()
public ButtonElement getSubmitButton()
public ButtonElement getForgotPasswordButton()
public com.vaadin.testbench.TestBenchElement getErrorComponent()
public void submit()
submit in interface org.openqa.selenium.WebElementsubmit in class com.vaadin.testbench.TestBenchElementpublic void forgotPassword()
public String getTitle()
public String getDescription()
public boolean hasTitleComponent()
public com.vaadin.testbench.TestBenchElement getTitleComponent()
nullpublic String getFormTitle()
public String getErrorMessageTitle()
public String getErrorMessage()
public String getAdditionalInformation()
public boolean isEnabled()
isEnabled in interface org.openqa.selenium.WebElementisEnabled in class com.vaadin.testbench.TestBenchElementCopyright © 2024. All rights reserved.