Using VB.Net, how would I go about checking if a loaded page in a Web Browser ob开发者_如何学运维ject contains a certain line of text? Sorry if theres an obvious answer for this, I'm used to programming in Java.
The Web Browser object has a DocumentText property that allows you to get or set the HTML contents. You can search the HTML for the text.
See more on the WebBrowser class: http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx
精彩评论