OpenQA.Selenium.WebElementTest.ShouldGetAttributesFromElement C# (CSharp) Méthode

ShouldGetAttributesFromElement() private méthode

private ShouldGetAttributesFromElement ( ) : void
Résultat void
        public void ShouldGetAttributesFromElement()
        {
            driver.Url = (javascriptPage);

            IWebElement dynamo = driver.FindElement(By.Id("dynamo"));
            IWebElement mousedown = driver.FindElement(By.Id("mousedown"));
            Assert.AreEqual("mousedown", mousedown.GetAttribute("id"));
            Assert.AreEqual("dynamo", dynamo.GetAttribute("id"));
        }