Example #1
0
        public void EnterInput([NotNull] string input, [NotNull] ITextElementWrapper element)
        {
            var randomString = Convert.ToBase64String(Guid.NewGuid().ToByteArray()).Substring(0, 8);

            if (input.Contains("__random_string"))
            {
                input = input.Replace("__random_string", randomString);
            }
            element.EnterString(input);
        }
Example #2
0
 public void ClearInput([NotNull] ITextElementWrapper element)
 {
     element.ClearInput();
 }