UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
RunJavaScript(String) Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
HP.LFT.SDK.Web Namespace
>
IPage Interface
>
RunJavaScript Method
: RunJavaScript(String) Method
The JavaScript code to run.
Runs the specified JavaScript code in the page's context and returns the result.
Syntax
C#
string
RunJavaScript(
string
scriptToRun
)
Parameters
scriptToRun
The JavaScript code to run.
Return Value
The JavaScript code to run.