/// <summary>
        /// Checks to see if a popup is displayed about the User's the authentication notification.
        /// </summary>
        /// <param name="signedIn">if set to <c>true</c> [signed in].</param>
        /// <returns>bool</returns>
        protected bool UserNotification(out bool signedIn)
        {
            bool found = false;
            signedIn = false;

            if (found = _popupManager.HandleButtonOk(".hp-popup-content-container", "User:"******"{DateTime.Now}: JediOmniAppAuthenticatorBase::UserNotification::Found valid signin notification: {found}.");
            return found;
        }
Пример #2
0
        private bool HandlePopups()
        {
            bool success = Wait.ForTrue(() =>
            {
                if (_jediOmniPopupManager.HandleButtonOk("#hpid-button-ok", "Insufficient") == true || _controlPanel.CheckState(JediOmniLaunchHelper.LazySuccessScreen, OmniElementState.Useable))
                {
                    return(true);
                }
                return(false);
            }
                                        , TimeSpan.FromSeconds(5));

            return(success);
        }