OpenQA.Selenium.ElementFindingTest.ShouldBeAbleToInjectXPathEngineIfNeeded C# (CSharp) Method

ShouldBeAbleToInjectXPathEngineIfNeeded() private method

private ShouldBeAbleToInjectXPathEngineIfNeeded ( ) : void
return void
        public void ShouldBeAbleToInjectXPathEngineIfNeeded()
        {
            driver.Url = alertsPage;
            driver.FindElement(By.XPath("//body"));
            driver.FindElement(By.XPath("//h1"));
            driver.FindElement(By.XPath("//div"));
            driver.FindElement(By.XPath("//p"));
            driver.FindElement(By.XPath("//a"));
        }
ElementFindingTest