Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
phantomJS
SUBMITTED BY:
chanhtin
DATE:
Dec. 9, 2015, 2:02 a.m.
FORMAT:
Text only
SIZE:
241 Bytes
Raw
Download
Tweet
HITS:
1283
Go to comments
Report
var phantomJS = new PhantomJS();
phantomJS.OutputReceived += (sender, e) => {
Console.WriteLine("PhantomJS output: {0}", e.Data);
};
phantomJS.RunScript("for (var i=0; i<10; i++) console.log('hello from js '+i); phantom.exit();", null);
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus