Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.91 KB

File metadata and controls

26 lines (23 loc) · 1.91 KB

WebElementExtensions.DelayedSendKeys(OpenQA.Selenium.IWebElement, string, int) Method

Sends keys to a given Text-Container object with delay between keys. Used
for slow typing in order to trigger JS events.

public static OpenQA.Selenium.IWebElement DelayedSendKeys(this OpenQA.Selenium.IWebElement element, string text, int delay);

Parameters

element OpenQA.Selenium.IWebElement
The OpenQA.Selenium.IWebElement to which send keys.

text System.String
The keys to send.

delay System.Int32
The delay time between each key.

Returns

OpenQA.Selenium.IWebElement
A self-reference to this OpenQA.Selenium.IWebElement.

Remarks

If not provided, the default delay is 100 milliseconds.