I\'m working on a C# Selenium-WebDriver. After send key, I want to wait few seconds. I do the following code to wait for 2 seconds.
public static void press(para
public static void press(params string[] keys) { foreach (string key in keys) { WebDriver.SwitchTo().ActiveElement().SendKeys(key); Sleep(2000); } }
which serves the same