PhantomJS Run Method (String,  String , Stream, Stream)NReco.PhantomJS Class Library Documentation
Execute javascript code from specified file with input/output interaction

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

public void Run(
	string jsFile,
	string[] jsArgs,
	Stream inputStream,
	Stream outputStream
)

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)
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