OpenQA.Selenium.TypingTest.ShouldNotTypeIntoElementsThatPreventKeyDownEvents C# (CSharp) Method

ShouldNotTypeIntoElementsThatPreventKeyDownEvents() private method

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);
        }