Asynchronously execute javascript code block.
Namespace: NReco.PhantomJSAssembly: NReco.PhantomJS (in NReco.PhantomJS.dll) Version: 1.0.2.0 (1.0.2.0)
public Task RunScriptAsync(
string javascriptCode,
string[] jsArgs
)
public Task RunScriptAsync(
string javascriptCode,
string[] jsArgs
)
Public Function RunScriptAsync (
javascriptCode As String,
jsArgs As String()
) As Task
Public Function RunScriptAsync (
javascriptCode As String,
jsArgs As String()
) As Task
public:
Task^ RunScriptAsync(
String^ javascriptCode,
array<String^>^ jsArgs
)
public:
Task^ RunScriptAsync(
String^ javascriptCode,
array<String^>^ jsArgs
)
member RunScriptAsync :
javascriptCode : string *
jsArgs : string[] -> Task
member RunScriptAsync :
javascriptCode : string *
jsArgs : string[] -> Task
Parameters
- javascriptCode
- Type: System String
javascript code
- jsArgs
- Type: System String
arguments for javascript code (optional; can be null)
Return Value
Type:
Task