phantom-bridge

v3.0.0
Simple PhantomJS bridge
phantomjs phantom headless browser bridge website web

Deprecated

PhantomJS is deprecated.


phantom-bridge Build Status

Simple PhantomJS bridge

Install

$ npm install --save phantom-bridge

Usage

var path = require('path');
var phantomBridge = require('phantom-bridge');

var cp = phantomBridge(path.join(__dirname, 'phantom-script.js'), [
    '--ignore-ssl-errors=true',
    '--local-to-remote-url-access=true',
    '--ssl-protocol=any'
]);

cp.stdout.pipe(process.stdout);

License

MIT © Sindre Sorhus

npm i phantom-bridge

Metadata

  • MIT
  • >=0.10.0
  • Sindre Sorhus
  • released 11/8/2018

Downloads

Maintainers