On Tue, Apr 30, 2013 at 4:11 PM, Rick <
wil...@gmail.com> wrote:
> Does anyone have any idea what is happening here?
Please try this:
casper.then(function() {
this.clickLabel('View New Content', 'a');
});
casper.waitForText('Explore content', function() {
fs.write('page-3.html', this.page.content, 'w');
});
Writing in file should be done when the wait has been actually done.
++
--
Nicolas Perriault
https://nicolas.perriault.net/
Phone: +33 (0) 660 92 08 67