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)); }
public void ClickLogoutLink() { UserNameLink.ClickElement(); LogoutLink.ClickElement(); }
/// <summary> /// Logs out a user by clicking on the login link. /// Won't check if a user is logged in or not. /// </summary> public void LogoffUser() { LogoutLink.ClickNoWait(); }
//Methods public Boolean IsLogoutDisplayed() { return(LogoutLink.WaitForVisible(10, "LogoutLink")); }