WebBrowser contains text
What am i doing wrong?
This doesnt work. When i put this in the timer it will always put label9 as "Captcha is wrong...." How do i make it so that when the phrase "Please try this code instead" appears, it will make label9 write "catpcha wrong". Apparently i am doing something wrong...
Code:
If WebBrowser1.DocumentText.Contains("Please try this code instead") Then
Label9.Text = ("Catpcha is wrong. Please try again!")
Label9.ForeColor = Color.Red
Else
End If