EvalScript

Runs the given script and returns a value as a string. Use it to run scripts that don't modify the state of the page, otherwise use RunScript.

Syntax

Browser.EvalScript
   ·  [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.