Пример #1
0
        /// <summary>
        ///     <inheritdoc cref="IAlert.SendKeys(string)" />
        /// </summary>
        public void SendKeys([NotNull] string keysToSend)
        {
            if (keysToSend == null)
            {
                throw new ArgumentNullException(nameof(keysToSend));
            }

            AlertImplementation.SendKeys(keysToSend);
        }
Пример #2
0
        /// <summary>
        ///     <inheritdoc cref="IAlert.SetAuthenticationCredentials(string,string)" />
        /// </summary>
        public void SetAuthenticationCredentials([NotNull] string userName, [NotNull] string password)
        {
            if (userName == null)
            {
                throw new ArgumentNullException(nameof(userName));
            }
            if (password == null)
            {
                throw new ArgumentNullException(nameof(password));
            }

            AlertImplementation.SetAuthenticationCredentials(userName, password);
        }
Пример #3
0
 /// <summary>
 ///     <inheritdoc cref="IAlert.Accept()" />
 /// </summary>
 public void Accept()
 {
     AlertImplementation.Accept();
 }
Пример #4
0
 /// <summary>
 ///     <inheritdoc cref="IAlert.Dismiss()" />
 /// </summary>
 public void Dismiss()
 {
     AlertImplementation.Dismiss();
 }