node-phantom-simple
node-phantom-simple copied to clipboard
Simple bridge to phantomjs for Node
The follow code line trigger an error on gcloud container instance throwning: "Error executing command to extract phantom ports: Error: Command failed: ss -nlp | grep "[,=]39," || netstat -nlp...
windows 平台中 node spawn 运行 simplejs ```Node import slimerjs from 'slimerjs' import { spawn } from 'child_process' import driver from 'node-phantom-simple' driver.create({ path: 'cmd', parameters: [ '/c', slimerjs.path ] },...
For some case, I want to simulate user time onsite with phantomjs for 4~5 min. Any way to do that ? Thanks
With SlimerJS, `onLoadFinished` was called with an array of the arguments as the first argument, instead of actually receiving multiple arguments. This fixes that. There was already a test for...
- osx 10.12.6 - phantomjs-prebuild 2.1.14 - node-phantom-simple 2.2.4 - node 8.1.4 ```js const driver = require('node-phantom-simple'); const phantom = require('phantomjs-prebuilt'); driver.create({ path: phantom.path }, (err, browser) => { browser.createPage((err2,...
SlimerJS passes 3 arguments to the onLoadFinished callback, while PhantomJS only passes 1. If one registers an onLoadFinished callback taking 1 argument and is using SlimerJS, the callback will be...
Otherwise, there was no possibility to add real "onInitalized"
Certain pages are causing the "Phantom Process died" error to be raised after 30 seconds. If I use a simple phantomjs script directly, the same page loads just fine, though...
Hi, By reading your README and phantom documentation, I don't really understand how concurrency is handled and what are the best practices. I have observed that creating several phantom instances...
Hi, I am using pa11y to perform accessibility testing on my webpages, pa11y invokes node-phantom-simple internally to perform Testing. However, phantomjs just waits for 30 seconds and in case there...