public interface LoginPageObjects extends PageObjects
PageObjects,
WrapsDriver| Modifier and Type | Method and Description |
|---|---|
String |
getUrl()
The URL to load.
|
org.openqa.selenium.WebDriver |
getWrappedDriver()
The driver used on the page.
|
boolean |
isLogged(org.openqa.selenium.security.UserAndPassword userAndPassword)
Indicates if you are logged in.
|
void |
loginAs(org.openqa.selenium.security.UserAndPassword userAndPassword)
Performs an authentication on the page.
|
void |
logout()
Performs a logout on the page.
|
isLoaded, openvoid loginAs(org.openqa.selenium.security.UserAndPassword userAndPassword)
userAndPassword - The authentication credentials for a user with username and password.void logout()
boolean isLogged(org.openqa.selenium.security.UserAndPassword userAndPassword)
userAndPassword - The authentication credentials for a user with username and password.true if you are logged in. Otherwise, false.String getUrl()
getUrl in interface PageObjectsorg.openqa.selenium.WebDriver getWrappedDriver()
WebDriverManager.getDriver().getWrappedDriver in interface PageObjectsgetWrappedDriver in interface org.openqa.selenium.internal.WrapsDriverWebDriver used on the page.WebDriverManagerCopyright © 2017. All rights reserved.