/// <summary> /// This method login. /// </summary> /// <param name="username"></param> /// <param name="password"></param> /// <returns> InboxPage object </returns> public InboxPage LoginAs(string username, string password) { TypeUsermame(username); TypePassword(password); InboxPage = new InboxPage(WebDriver); return(InboxPage); }
public InboxPage LoginAs(string username, string password) { inboxPage = loginPage.LoginAs(username, password); return(inboxPage); }