U
U
Umid2017-09-03 13:52:13
Node.js
Umid, 2017-09-03 13:52:13

How to work with phantomjs from node?

Hello.
I was tempted to work with phantomjs. As I already understood, phantom must be installed separately (for windows), not via npm (please correct me if I misunderstood something).
In the documentation, phantom is launched via the console - phantomjs
fileName.js

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alvvi, 2017-09-03
@alvvi

const phantomjs = require('phantomjs');
?

V
Vladimir, 2017-09-03
@Casufi

In my opinion, the phantom developer said that he would not develop the project because there were headless versions of chrome and FF. https://developers.google.com/web/updates/2017/04/...
To work with chrome there is https://github.com/GoogleChrome/puppeteer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question