public void ShouldFindElementUsingSequence()
        {
            driver.Url = xhtmlTestPage;
            var page = new PageFactoryBrowserTest.Page();

            PageFactory.InitElements(driver, page);
            Assert.AreEqual("I'm a child", page.NestedElement.Text.Trim());
        }
        public void ShouldFindElementUsingAllFindBys()
        {
            driver.Url = xhtmlTestPage;
            var page = new PageFactoryBrowserTest.Page();

            PageFactory.InitElements(driver, page);
            Assert.True(page.ByAllElement.Displayed);
        }