LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2014, 12:58 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,784

Rep: Reputation: 49
How to make phantomjs wait for page to load


Hi guys. New to phantomjs, only because it started making blank PDFs of the webpage we're pointing it at. We have a cron job of "phantomjs rasterize.js http://website.com filename.pdf" and if i change the extension to .png it makes a png ok.

Reading online, supposedly this solves issues like that, but I'm clueless on how to actually implement it to test. Anyone have any experience with phantomjs that could offer a tip?
http://newspaint.wordpress.com/2013/...-in-phantomjs/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Launchpads, catapults... what a load of - WAIT, there's 15m for grabs? LXer Syndicated Linux News 0 09-24-2013 10:20 AM
LXer: How to make page numbering start on a certain page in OpenOffice.org or LibreOffice Writer LXer Syndicated Linux News 0 02-13-2012 05:30 AM
LXer: Floating Point Math in Bash, Part 2 (Wait for System Load) LXer Syndicated Linux News 0 08-12-2008 04:10 AM
How to make a script wait for input farmerjoe Linux - General 2 12-28-2004 06:18 AM
Make script wait for input farmerjoe Linux - General 4 12-28-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration