php-phantomjs
php-phantomjs copied to clipboard
Script either keeps loading or empty display
So i followed the version 4 guide ( http://jonnnnyw.github.io/php-phantomjs/ ) , set up everything on my xampp.
First it was not finding the phantomjs.exe which i solved by giving the absolute path ( $client->getEngine() ->setPath( __ DIR __ . '/vendor/bin/phantomjs.exe'); )
But now when i run the basic example given on the site , just empty page appears and when i try to run the debug command ( $client->getEngine()->debug(true); )the page keeps on loading endless.
i also tried screen capture as .jpg file , and again endless loadingof the script.
my php version is 5.6 .
Can anyone help me ?
win10 wamp php 5.6.24 phantomjs 2.1.2
have the same problem
in the task magager the phantomjs process is sitll running
seems the process not ended normally ?
Hi, anyone found fix? thanks!