You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 it takes longer than 30 seconds.
Here's an example:
var driver = require('node-phantom-simple');
var url = 'http://www.ebay.com/itm/Hybrid-VERGE-Accessory-Hard-Silicone-Case-Cover-Gel-Apple-iPhone-5S-SE-/301884820233?var=600695910819';
driver.create(function (err, browser) {
browser.createPage(function (err, page) {
page.open(url, function (err, status) {
if (err) console.log('error', err);
else {
console.log('done');
}
});
});
});
Running the following script with phantomjs myScript.js works fine though:
var page = require('webpage').create();
var url = 'http://www.ebay.com/itm/Hybrid-VERGE-Accessory-Hard-Silicone-Case-Cover-Gel-Apple-iPhone-5S-SE-/301884820233?var=600695910819';
page.open(url', function() {
page.render('ebay.png');
phantom.exit();
});
Is there a default timeout of 30 seconds in one of the underlying calls perhaps?
The text was updated successfully, but these errors were encountered:
It is not normal but it happens notably when you tend to execute a lot of phantom processes in parallel. The mean time augment considerably. Making it customizable would be great indeed.
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 it takes longer than 30 seconds.
Here's an example:
Running the following script with
phantomjs myScript.js
works fine though:Is there a default timeout of 30 seconds in one of the underlying calls perhaps?
The text was updated successfully, but these errors were encountered: