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

TextInputShouldNotClearWhenReadOnly() private method

private TextInputShouldNotClearWhenReadOnly ( ) : void
return void
        public void TextInputShouldNotClearWhenReadOnly()
        {
            driver.Url = readOnlyPage;
            IWebElement element = driver.FindElement(By.Id("readOnlyTextInput"));
            element.Clear();
        }