We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting "phantom crash: code -1073741819" on setting view port width to a value greater 600 .
Following is the code i use
var phantom = require('node-phantom'); phantom.create(function (err, ph) { ph.createPage(function (err, page) { page.get('viewportSize',function(err,value){ console.log(value); page.set('viewportSize',{width:800,height:600},function(err){ page.set('content',data.html, function (err, status) { setTimeout(function() { page.render('capture.png',function(err){ console.log("created image"); // ph.exit(); }); }, 10000); }); }); }); }); });
If here i set height to 600 it will work fine . //page.set('viewportSize',{width:600,height:600},function(err){
Can any body please help me out on this issue ? Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting "phantom crash: code -1073741819" on setting view port width to a value greater 600 .
Following is the code i use
If here i set height to 600 it will work fine .
//page.set('viewportSize',{width:600,height:600},function(err){
Can any body please help me out on this issue ?
Thanks
The text was updated successfully, but these errors were encountered: