Closed skotchio closed 11 years ago
Contrary to the docs, I had to use page.set('settings, {..}) just to set the userAgent. Maybe the same thing will work for you.
Yes, try page.settings.set('paperSize', ...).
I'd also try removing any calls to page.get, as that was triggering a crash later on for me. (No idea why.)
Here is the example:
At the end of story I get test.png file with the default 400x300 dimensions.