public NonSsoSignOn Logout() { LogoutLink.Click(); WebDriver.SwitchTo().ActiveElement(); LogoutYesButton.Click(); return(new NonSsoSignOn(WebDriver)); }
public HomePage SignOut() { UsernameLink.Click(); LogoutLink.Click(); return(Navigate(this).PostBack <HomePage>(WebDriver)); }