PhantomJS RunScript Method (String,  String , Stream, Stream)NReco.PhantomJS Class Library Documentation
Execute javascript code block

Namespace: NReco.PhantomJS
Assembly: NReco.PhantomJS (in NReco.PhantomJS.dll) Version: 1.0.2.0 (1.0.2.0)
Syntax

public void RunScript(
	string javascriptCode,
	string[] jsArgs,
	Stream inputStream,
	Stream outputStream
)

Parameters

javascriptCode
Type: System String
javascript code
jsArgs
Type:  System String 
arguments for javascript code (optional; can be null)
inputStream
Type: System.IO Stream
input stream for stdin data (can be null)
outputStream
Type: System.IO Stream
output stream for stdout data (can be null)
See Also