OpenQA.Selenium.NavigationTest.ShouldGoToUrlUsingString C# (CSharp) Méthode

ShouldGoToUrlUsingString() private méthode

private ShouldGoToUrlUsingString ( ) : void
Résultat void
        public void ShouldGoToUrlUsingString()
        {
            INavigation navigation;
            navigation = driver.Navigate();

            navigation.GoToUrl(macbethPage);
            Assert.AreEqual(macbethTitle, driver.Title);

            // We go to two pages to ensure that the browser wasn't
            // already at the desired page through a previous test.
            navigation.GoToUrl(simpleTestPage);
            Assert.AreEqual(simpleTestTitle, driver.Title);
        }