public class LoginFormElement extends 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
|
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()
Returns whether the Vaadin component, that this element represents, is
enabled or not.
|
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 TextFieldElement getUsernameField()
public PasswordFieldElement getPasswordField()
public ButtonElement getSubmitButton()
public ButtonElement getForgotPasswordButton()
public void submit()
submit in interface org.openqa.selenium.WebElementsubmit in class TestBenchElementpublic void forgotPassword()
public String getFormTitle()
public TestBenchElement getErrorComponent()
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.