コード例 #1
0
        /// <summary>
        /// Method to allow you to Navigate with WebDriver.
        /// </summary>
        /// <returns>Returns an INavigation Object that allows the driver to navigate in the browser.</returns>
        /// <example>
        /// <code>
        ///     IWebDriver driver = new InternetExplorerDriver();
        ///     driver.Navigate().GoToUrl("http://www.google.co.uk");
        /// </code>
        /// </example>
        public INavigation Navigate()
        {
            if (navigation == null)
            {
                navigation = new InternetExplorerNavigation(this);
            }

            return(navigation);
        }
コード例 #2
0
        /// <summary>
        /// Method to allow you to Navigate with WebDriver.
        /// </summary>
        /// <returns>Returns an INavigation Object that allows the driver to navigate in the browser.</returns>
        /// <example>
        /// <code>
        ///     IWebDriver driver = new InternetExplorerDriver();
        ///     driver.Navigate().GoToUrl("http://www.google.co.uk");
        /// </code>
        /// </example>
        public INavigation Navigate()
        {
            if (navigation == null)
            {
                navigation = new InternetExplorerNavigation(this);
            }

            return navigation;
        }