Execute javascript code from specified file.
Namespace: NReco.PhantomJSAssembly: NReco.PhantomJS (in NReco.PhantomJS.dll) Version: 1.0.2.0 (1.0.2.0)
public void Run(
string jsFile,
string[] jsArgs
)
public void Run(
string jsFile,
string[] jsArgs
)
Public Sub Run (
jsFile As String,
jsArgs As String()
)
Public Sub Run (
jsFile As String,
jsArgs As String()
)
public:
void Run(
String^ jsFile,
array<String^>^ jsArgs
)
public:
void Run(
String^ jsFile,
array<String^>^ jsArgs
)
member Run :
jsFile : string *
jsArgs : string[] -> unit
member Run :
jsFile : string *
jsArgs : string[] -> unit
Parameters
- jsFile
- Type: System String
URL or local path to javascript file to execute
- jsArgs
- Type: System String
arguments for javascript code (optional; can be null)