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

TextAreaShouldNotClearWhenReadOnly() private method

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