node-phantom-simple
node-phantom-simple copied to clipboard
Simple bridge to phantomjs for Node
Prior to this fix, the page object that would be returned would be missing functions and have properties that are unique to the PhantomJS page object. This fixes issue #131....
One test `onError` is broken with PhantomJS 2.+. Would be nice to fix if anyone has time. No ideas why problem happens at all. May be some api changes after...
I am trying to run slimerjs with xvfb. the readme says to add this to the .travis.yml ``` before_script: - export DISPLAY=:99.0 - "sh -e /etc/init.d/xvfb start" ``` I'm on...
I'm trying to set the network [capture content ](https://docs.slimerjs.org/current/api/webpage.html#webpage-capturecontent) as I would using plain slimerJS with the following: ``` page.captureContent = [/html/, /text/]; ``` using the getter setter functions with...
In PhantomJS, it's possible to get the URL of the page that is closing, e.g.: ``` var webPage = require('webpage'); var page = webPage.create(); page.onClosing = function(closingPage) { console.log('The page...
`page.getPage(name)` can be used to retrieve pages that are children of another page. However, the pages that are retrieved by this function are not node-phantom-simple page instances, but a json-ifined...
I'm creating lots of browser instances with `driver.create()` in a batch (~10 or so instances at once) and even though I'm exiting them all with `browser.exit()` before creating another batch,...
I am tracking network calls via onResourceReceived. But it was very slow to responding when huge external call request in particular site and sometimes response itself not came. It works...
Current port detection code tries to be compact and simple. As a result - logic partially goes to shell, and becomes messy. - It's not evident when shell script failed...
Please run the code for 20 mins and the bug will pop up. I tested it on a VPS with Ubuntu Server 14.04 LTS 64-bit ``` const Horseman = require("node-horseman");...