/// <summary> /// <inheritdoc cref="IAlert.SendKeys(string)" /> /// </summary> public void SendKeys([NotNull] string keysToSend) { if (keysToSend == null) { throw new ArgumentNullException(nameof(keysToSend)); } AlertImplementation.SendKeys(keysToSend); }
/// <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); }
/// <summary> /// <inheritdoc cref="IAlert.Accept()" /> /// </summary> public void Accept() { AlertImplementation.Accept(); }
/// <summary> /// <inheritdoc cref="IAlert.Dismiss()" /> /// </summary> public void Dismiss() { AlertImplementation.Dismiss(); }