jonnnnyw / php-phantomjs

Execute PhantomJS commands through PHP
MIT License
1.44k stars 432 forks source link

Dynamic height? #188

Open Starkmann opened 7 years ago

Starkmann commented 7 years ago

https://stackoverflow.com/questions/31245553/how-to-get-the-height-of-a-full-html-page-in-phantomjs-javascript

Is there a setting for that or a possible to reintegrate dynamic height?

GrzegorzWalewski commented 3 years ago

Hi, i got same problem. To make it dynamic You have to get rid of $request->setViewportSize(). When You remove it phantomJS will get load with full page height.