예제 #1
0
        private void GoTo(string location)
        {
            foreach (var cookie in Cookies)
                _requester.AddCookie(cookie);

            _webResponder = _requester.Get(location);

            Location = new Uri(_webResponder.Url.ToString());
            PopulateCookies();
        }
예제 #2
0
        private void GoTo(string location)
        {
            foreach (var cookie in Cookies)
                _requester.AddCookie(cookie);

            _webResponder = _requester.Get(location);
            _currentPage = new Page(_webResponder.Page);
            _currentPage.FormSubmitted += FormSubmitted;

            Location = new Uri(_webResponder.Url.ToString());
            PopulateCookies();
        }