示例#1
0
        public void ByParent_Simple_Crossbrowser(string driver)
        {
            SetUp(driver);

            var expectedElement = Driver.FindElement(By.TagName("ul"));
            var resultElement   = Driver.FindElement(ByExtension.ParentOf(By.Id("navP1")));

            Assert.AreEqual(expectedElement, resultElement);
        }