tualo-phantomjs-remote

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tualo-phantomjs-remote

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • tualo