0

I am want to scrapped webbroser to ":" all line.

If finding : then scrapped full line with all line from the browser area.

below code I am trying but not getting any result pls check & give me solution.

if (webBrowser1.DocumentText.Contains(":"))
        {
            listBox1.Items.Add(webBrowser1.DocumentText.Contains(""));
        }

1 Answers1

0

Perhaps you mean to add the DocumentText to the listBox?

if (webBrowser1.DocumentText.Contains(":"))
        {
            listBox1.Items.Add(webBrowser1.DocumentText);
        }
tofutim
  • 22,664
  • 20
  • 87
  • 148