OpenQA.Selenium.ClearTest.WritableTextInputShouldClear C# (CSharp) Method

WritableTextInputShouldClear() private method

private WritableTextInputShouldClear ( ) : void
return void
        public void WritableTextInputShouldClear()
        {
            driver.Url = readOnlyPage;
            IWebElement element = driver.FindElement(By.Id("writableTextInput"));
            element.Clear();
            Assert.AreEqual(string.Empty, element.GetAttribute("value"));
        }