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

Execute PhantomJS commands through PHP

Results 102 php-phantomjs issues
Sort by recently updated
recently updated
newest added

Hello, I'm getting an error message. (Version : Laravel 5.4) "Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file)" How can I fix?

Hi, Is it possible to set the `Referer` using settings `setSetting()` method? Thanks for the light, Cheers

PHP Warning: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file) in /wwwroot/vendor/jonnyw/php-phantomjs/src/JonnyW/PhantomJs/DependencyInjection/ServiceContainer.php on line 20

i want the page which need user login. example : http://www.xxx.com/user/address.html . And the login form like { url : http://www.xxx.com/login post: [ username:"user1", password:"pwd1", ] }

Crash report: 1 0x1b67967 /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x1b67967] 2 0x1baaaf5 /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x1baaaf5] 3 0x198c463 /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x198c463] 4 0x1ab3982 /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x1ab3982] 5 0x79abb9 /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x79abb9] 6 0x76b6f9 /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x76b6f9] 7 0x750a5d /homepages/0/d220355082/htdocs/bitme/core/phantomjs/bin/phantomjs() [0x750a5d]...

This works: ``` $ sudo composer require "jonnyw/php-phantomjs:4.3" Do not run Composer as root/super user! See https://getcomposer.org/root for details ./composer.json has been updated Loading composer repositories with package information Updating...

Today I launched composer update command, automatically updating symfony/dependency-injection from v3.3.9 to v3.4.0 Now I got this error: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file) I've fixed this error...

I tried use es6 "import" in custom script, and it says syntax error. So i tried "require", but phantomjs task just stuck and not loading. Any clue? Does custom script...

AbstractRequest.php uses the following code to setURL in version 4.6 public function setUrl($url) { if (!filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED)) { throw new InvalidUrlException(sprintf('Invalid URL provided: %s', $url)); } $this->url = $url;...

when page is redirecting login is not working how can do this. when i change the Url $request->setUrl('http://localhost/php-phantomjs/html/login.php'); is working fine what is the issue? complete code is bellow. require_once...