Esempio n. 1
0
        public void GoToPage()
        {
            Console.WriteLine("Enter URL:");
            var url = Console.ReadLine();

            ICommand command = new GoToPageCommand(engine, url);

            command.Execute();
        }
Esempio n. 2
0
        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);
        }