Philippe Renaud
asked on
VB.NET HtmlDocument Source
Hello EE,
When I go over a specific web site and look at the source in Chrome Versus Internet Explorer, Its a bit different. (probably the developers renders differently by browsers.) For example, one or two div with class are visible inside the source of IE but not under Chrome.
My question, inside VISUAL STUDIO, in vb.net, if I open via htmlDocument with HTMLAgilityPack and I see the source, its the same as my Chrome source.
How Can I make happen to see the source as like I saw in my IE source ?
I saw in internet to use mshtml and IhtmlDocument but if I understand well this is obsolete...
I dont really want to use WebBrowser object also.... any idea ?
When I go over a specific web site and look at the source in Chrome Versus Internet Explorer, Its a bit different. (probably the developers renders differently by browsers.) For example, one or two div with class are visible inside the source of IE but not under Chrome.
My question, inside VISUAL STUDIO, in vb.net, if I open via htmlDocument with HTMLAgilityPack and I see the source, its the same as my Chrome source.
How Can I make happen to see the source as like I saw in my IE source ?
I saw in internet to use mshtml and IhtmlDocument but if I understand well this is obsolete...
I dont really want to use WebBrowser object also.... any idea ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Looks like it will change only the userAgent for WebBrowser control no ?
I dont understand if its possible to change only for the HtmlDocument variable (i dont have any web browser control in my app)
I dont understand if its possible to change only for the HtmlDocument variable (i dont have any web browser control in my app)
ASKER