Share this page

RunJavaScript<TResult>(String) Method
Runs the given JavaScript code in the frame's context and returns the result.

C# Syntax

    TResult RunJavaScript<TResult>(
       string scriptToRun
    )

Parameters

scriptToRun
  The JavaScript code to run

Type Parameters

TResult
  The type of return value

Return Value

The result of running the JavaScript code converted to TResult

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: