private void GoTo(string location) { foreach (var cookie in Cookies) _requester.AddCookie(cookie); _webResponder = _requester.Get(location); Location = new Uri(_webResponder.Url.ToString()); PopulateCookies(); }
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(); }