HtmlDocument document = webBrowser1.Document; string scriptName = "GetText"; object[] args = new string[0]; object obj = document.InvokeScript(scriptName, args); string script = obj.ToString(); code example

Example: HtmlDocument document = webBrowser1.Document; string scriptName = "GetText"; object[] args = new string[0]; object obj = document.InvokeScript(scriptName, args); string script = obj.ToString();

HtmlDocument document = webBrowser1.Document;
            string scriptName = "GetText";
            object[] args = new string[0];
            object obj = document.InvokeScript(scriptName, args);
            string script = obj.ToString();

Tags:

Misc Example