tualo-phantomjs-remote
v0.0.1
Published
A phantomjs wrapper for node.js
Downloads
1
Readme
Description
Phantomjs-remote is a wrapper for phantom js. With that wrapper you can use the phatomjs-like api inside of node.
Using
var Remote = require('../lib/phantomjs-remote.js').Remote;
var remote = new Remote({});
remote.start(function(){
remote.create(function(page){
page.open('http://tualo.de',function(status){
page.evaluate(function(){
return {
title: document.title,
body: document.body
};
},function(result){
console.log('and here is the result',result);
});
});
});
});