OpenQA.Selenium.AtomsInjectionTest.InjectingAtomShouldNotTrampleOnUnderscoreGlobal C# (CSharp) Méthode

InjectingAtomShouldNotTrampleOnUnderscoreGlobal() private méthode

private InjectingAtomShouldNotTrampleOnUnderscoreGlobal ( ) : void
Résultat void
        public void InjectingAtomShouldNotTrampleOnUnderscoreGlobal()
        {
            driver.Url = underscorePage;
            driver.FindElement(By.TagName("body"));
            Assert.AreEqual("123", ((IJavaScriptExecutor)driver).ExecuteScript("return _.join('');"));
        }
    }