|
-
Mar 10th, 2011, 02:55 PM
#1
Thread Starter
Junior Member
[RESOLVED] how to view updated code of dynamically changed webpage without refreshing?
In webbrowser, I am visiting a website that lists 10 items per page, I select "20 items per page". The webpage dynamically updates to display a list of 20 items.
However when I view the webpage code it still shows 10 items. If I refresh the webbrowser, the code will show 20 items.
Is there a way to view the updated webpage code without refreshing?
-
Mar 10th, 2011, 06:57 PM
#2
Frenzied Member
Re: how to view updated code of dynamically changed webpage without refreshing?
If you loop through the actual HtmlElementcollection of that browser control, I think all 20 will be there.
Justin
-
Mar 11th, 2011, 03:21 PM
#3
Thread Starter
Junior Member
Re: [RESOLVED] how to view updated code of dynamically changed webpage without refres
Yes that worked, thank you!
vb Code:
Dim webpageDoc As HtmlDocument = WebBrowser1.Document Dim webpageEls As HtmlElementCollection = webpageDoc.GetElementsByTagName("a") For Each el As HtmlElement In webpageEls Debug.WriteLine(el.OuterText) Next
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|