OpenQA.Selenium.ElementFindingTest.ShouldBeAbleToFindMultipleElementsById C# (CSharp) 메소드

ShouldBeAbleToFindMultipleElementsById() 개인적인 메소드

private ShouldBeAbleToFindMultipleElementsById ( ) : void
리턴 void
        public void ShouldBeAbleToFindMultipleElementsById()
        {
            driver.Url = nestedPage;

            ReadOnlyCollection<IWebElement> elements = driver.FindElements(By.Id("2"));

            Assert.AreEqual(8, elements.Count);
        }
ElementFindingTest