/// <summary> /// Initiate logon to Gaiaonline by selecting header tab. /// </summary> /// <returns>login form for chaining</returns> public static LoginForm Logon() { ElementHelpers.ClickFirstElementByCssSelector(".header-login-tab-login"); CurrentLoginForm = new LoginForm(); return(CurrentLoginForm); }
/// <summary> /// Logout of Gaiaonline. /// </summary> public static void Logout() { ElementHelpers.HoverOverElementByCssSelector(".user-dropdown-arrow"); ElementHelpers.ClickFirstElementByCssSelector(".user-dropdown-menu ul li:nth-child(3) a"); }
/// <summary> /// Click the submit button by css selector. /// </summary> protected override void OnSubmit() { string selector = HeaderLoginInputSelector + "submit"; ElementHelpers.ClickFirstElementByCssSelector(selector); }