TestAutomationEssentials.Selenium.BrowserWindow.NavigateToUrl C# (CSharp) Method

NavigateToUrl() public method

Navigates the current browser window to the specified URL
This method records the operation to the log using Logger
public NavigateToUrl ( string url ) : void
url string The URL to navigate to
return void
        public void NavigateToUrl(string url)
        {
            Logger.WriteLine("Navigating to '{0}' on '{1}' window", url, Description);
            Activate();
            Browser.GetWebDriver().Navigate().GoToUrl(url);
        }