bool ExecuteScriptInBrowser(string browserName, bool includeAllFrames, string script)

Executes a block of JavaScript in the designated browser control.

Parameters

Name Description
browserName The name of the browser (popup window name or name from the Config Tool).
includeAllFrames True to run the script in all frames; false for just the top (outermost) frame.
script The block of JavaScript to execute.

Return

True, if the script was successfully executed.