Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casperjs? #23

Closed
braco opened this issue Apr 3, 2014 · 5 comments
Closed

Casperjs? #23

braco opened this issue Apr 3, 2014 · 5 comments

Comments

@braco
Copy link

braco commented Apr 3, 2014

What are the chances of this supporting Casper?

That would make this the #1 scraping suite under node, by far.

All of that syntactic sugar provided by Casper would be a huge boost.

@baudehlo
Copy link
Owner

baudehlo commented Apr 3, 2014

Why not just use casperjs then?

On Apr 3, 2014, at 3:10 PM, braco notifications@github.com wrote:

What are the chances of this supporting Casper?

That would make this the #1 scraping suite under node, by far.

All of that syntactic sugar provided by Casper would be a huge boost.


Reply to this email directly or view it on GitHub.

@braco
Copy link
Author

braco commented Apr 3, 2014

Same issues with Phantom, can't be controlled through node without a bridge...

@baudehlo
Copy link
Owner

baudehlo commented Apr 4, 2014

Well node-phantom-simple is also a bridge. So it would be no different.

On Apr 3, 2014, at 5:35 PM, braco notifications@github.com wrote:

Same issues with Phantom, can't be controlled through node without a bridge...


Reply to this email directly or view it on GitHub.

@puzrin
Copy link
Contributor

puzrin commented Jul 7, 2015

@braco this request seems to be out of project scope. This is a driver, and you ask about framework. Take a look at this repos:

2 first from this list are based on this diver.

@laggingreflex
Copy link

CasperJS allows being loaded from within PhantomJS so you can do this in Phridge since it has a .run function which runs any function directly inside PhantomJS environment

casperPath = path.join(require.resolve('casperjs/bin/bootstrap'), '/../..');
phantom.run(casperPath, function(casperPath) {
    phantom.casperPath = casperPath;
    phantom.injectJs(casperPath + '/bin/bootstrap.js');
    casper = require('casper').create();
    ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants