private ShouldNotTypeIntoElementsThatPreventKeyDownEvents ( ) : void | ||
return | void |
public void ShouldNotTypeIntoElementsThatPreventKeyDownEvents()
{
driver.Url = javascriptPage;
IWebElement silent = driver.FindElement(By.Name("suppress"));
silent.SendKeys("s");
Assert.AreEqual(silent.Value, string.Empty);
}