public class CarbonLoginPage extends CarbonPage
carbonUIElementMapper, driver| Constructor and Description |
|---|
CarbonLoginPage(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
CarbonHomePage |
loginAs(String userName,
String password)
Logs into the Carbon Console using user credentials.
|
getDriver, getElementCount, isElementPresentpublic CarbonLoginPage(org.openqa.selenium.WebDriver driver)
throws CarbonUIPageCreationException
CarbonUIPageCreationExceptionpublic CarbonHomePage loginAs(String userName, String password) throws InvalidPageException
userName - Login user namepassword - Login passwordCarbonPageExceptionInvalidPageExceptionCopyright © 2015 WSO2, Inc.. All rights reserved.