OpenQA.Selenium.ClearTest.TextInputShouldNotClearWhenReadOnly C# (CSharp) Méthode

TextInputShouldNotClearWhenReadOnly() private méthode

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