コード例 #1
0
 /// <summary>
 /// Sends the specified string to the element one character at a time with a short delay between pushes.
 /// This is primarily aimed at controls that do not deal with superfast input, such as elements with autosuggest events.
 /// </summary>
 /// <param name="element">The element to interact with.</param>
 /// <param name="text">The text to send slowly</param>
 /// <example>
 /// <code>
 /// myElement.SendKeysSlowly("Edinburgh");
 /// </code>
 /// </example>
 public static void SendKeysSlowly(this IWebElement element, string text, int mSecDelay = 250)
 {
     WebDriverSupport.SendKeysSlowly(element, text, mSecDelay);
 }