1. Navigate to page
WebBrowser control
browser.Navigate(new Uri("http://www.xxxx.com"));
2. Understand navigation completed and content loaded
WebBrowser.Navigation Event
WebBrowser.LoadCompleted Event
WebBrowser.NavigationFailedEvent
3. Get HTML Source
string html = browser.SaveToString();
4. Parse HTML
Excellent HTML Agility Pack
时间: 2024-10-06 00:03:49