I have a WebBrowser in a .net Form, and I am looking for a way to get all the HTMLElements that match a given XPath expression.
I have a WebBrowser in a .net Form , and I am looking for
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suggest that instead of
WebBrowser, use the HTML Agility Pack.It lets you download documents from the web and supports XPath natively. I also deals well with badly formed HTML and HTML fragments.