RunScript

Runs the given script and returns a value. Use it to run scripts that modify the state of the page, otherwise use EvalScript.

Syntax

Browser.RunScript
   ·  [script]
   ·  [argument]

Parameters

script
The script to run.
argument
The argument to pass to the script.

Return Value

The result of running the script as a string.