OpenQA.Selenium.WebElementTest.ShouldGetAttributesFromElement C# (CSharp) Method

ShouldGetAttributesFromElement() private method

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