public void GoToPage() { Console.WriteLine("Enter URL:"); var url = Console.ReadLine(); ICommand command = new GoToPageCommand(engine, url); command.Execute(); }
public void GoToPage() { Console.Write("Enter URL: "); var url = Console.ReadLine(); ICommand command = new GoToPageCommand(url, webBrowserEngine); command.Execute(); //var html = webBrowserEngine.LoadPage(url); //Console.WriteLine(html); }