php-phantomjs icon indicating copy to clipboard operation
php-phantomjs copied to clipboard

Script either keeps loading or empty display

Open ShayanArifButt opened this issue 7 years ago • 2 comments

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 ?

ShayanArifButt avatar Aug 22 '17 07:08 ShayanArifButt

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 ?

contacthe avatar Sep 07 '17 23:09 contacthe

Hi, anyone found fix? thanks!

anurajnaik920 avatar May 27 '19 11:05 anurajnaik920