public API_EventBrite logout() { ie.open("http://www.eventbrite.com/signout"); if (ie.title("Online Event Registration – Sell Tickets Online with Eventbrite") && ie.hasLink("Log in")) { "logout ok".info(); } else { "logout failed".error(); } return(this); }
public static bool loggedIn(this API_IE_CxWebClient cxClient) { return(ie.hasLink("Logout")); // better detection modes will be needed }