bool ExecuteScriptInBrowser(string script, bool includeAllFrames = false, WindowType windowTypes = WindowType.StandardBrowsers, BrowserType browserType = BrowserType.All)

Executes a block of JavaScript in the designated browser controls.


Name Description
script The block of JavaScript to execute.
includeAllFrames True to run the script in all frames; false for just the top (outermost) frame.
windowTypes The types of windows to include.
browserType The types of browsers to include.


True, if the script was successfully executed.