OpenQA.Selenium.ElementFindingTest.ShouldBeAbleToInjectXPathEngineIfNeeded C# (CSharp) Méthode

ShouldBeAbleToInjectXPathEngineIfNeeded() private méthode

private ShouldBeAbleToInjectXPathEngineIfNeeded ( ) : void
Résultat 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