phantomjs-wrapper

Simple wrapper for a child phantomjs instance. Most of the page API/events are exposed in a transparent way

Usage no npm install needed!

<script type="module">
  import phantomjsWrapper from 'https://cdn.skypack.dev/phantomjs-wrapper';
</script>

README

phantomjs-wrapper

Simple API for spawning/controlling phantomjs from node.js

Installation

npm install phantomjs-wrapper

Usage

All this module is forward method calls from node.js to phantomjs and events from phantomjs. Here is a list of supported method and events.

For basic usage tutorial look in the test file