Reputation: 11
In my app (C#) I have a WebBrowser that logins automatically to a site, from there I want to take my data and display it in a textBox. How can I do this because when I get the source code I cant find any sellPrice and in DOM Explorer doesn't have any id. Maybe it is because the data changes constantly ?
Upvotes: 1
Views: 70
Reputation: 6656
Please have a look at HTMLAgilityPack solution. It is HTML parser that builds a read/write DOM. You can download it from here.
I hope, it might resolve your problem.
Upvotes: 1
Reputation:
You can get data like:
HtmlElement he = this.webBrowser1.Document.GetElementById("tbox_sell_price");
Upvotes: 0