public class LoginFormElement
extends com.vaadin.testbench.TestBenchElement
<vaadin-login-form> element| Constructor and Description |
|---|
LoginFormElement() |
| 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
|
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
|
PasswordFieldElement |
getPasswordField()
Return the password field
|
ButtonElement |
getSubmitButton()
Return the log in button
|
TextFieldElement |
getUsernameField()
Return the username field
|
boolean |
isEnabled() |
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 TextFieldElement getUsernameField()
public PasswordFieldElement getPasswordField()
public ButtonElement getSubmitButton()
public ButtonElement getForgotPasswordButton()
public void submit()
submit in interface org.openqa.selenium.WebElementsubmit in class com.vaadin.testbench.TestBenchElementpublic void forgotPassword()
public String getFormTitle()
public com.vaadin.testbench.TestBenchElement getErrorComponent()
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.