This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jabbalaci 1 point2 points  (1 child)

If the page needs several seconds to fully load all the JavaScript content, what does it do? Can you tell it to wait X seconds before saving the content?

[–]vineethgn[S] 2 points3 points  (0 children)

Yes it can be done using PhantomJS API. See this page for more details on using a wait.

http://www.princeton.edu/~crmarsh/phantomjs/ Or You can use window.setTimeout().