OpenQA.Selenium.WebElementTest.ShouldGetAttributesFromElement C# (CSharp) 메소드

ShouldGetAttributesFromElement() 개인적인 메소드

private ShouldGetAttributesFromElement ( ) : void
리턴 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"));
        }