PHPackages                             mihail-shumilov/phpcasperjs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. mihail-shumilov/phpcasperjs

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mihail-shumilov/phpcasperjs
===========================

Simple PHP wrapper for CasperJS

v1.3.4(8y ago)018MITPHPPHP &gt;=5.3.0

Since Jun 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mihailShumilov/php-casperjs)[ Packagist](https://packagist.org/packages/mihail-shumilov/phpcasperjs)[ Docs](https://github.com/alwex/php-casperjs)[ RSS](/packages/mihail-shumilov-phpcasperjs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (18)Used By (0)

php-casperjs
============

[](#php-casperjs)

![Travis branch](https://camo.githubusercontent.com/c155e83efae510847cc2bf98056a499619bc43c69d42663028921211084a8d36/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616c7765782f7068702d6361737065726a732f737461626c652e737667)![Packagist](https://camo.githubusercontent.com/788e815aeca0a3af0f69964b19f932a3ac839098d2873bd0d9fa9cd1923325d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068706361737065726a732f7068706361737065726a732e7376673f6d61784167653d32353932303030)[![Version](https://camo.githubusercontent.com/2f3a3fe182620068115cbcbc2f42b72cdf8054c826dc66f2cabbe026c007e56d/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068706361737065726a732f7068706361737065726a732e7376673f7374796c653d666c6174)](https://packagist.org/packages/phpcasperjs/phpcasperjs)[![License](https://camo.githubusercontent.com/e498eead712d82d9ee1af0a4850acd2e46ea48c48fb9ce5a3d2ab64f28f95b34/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e737667)](http://doge.mit-license.org)

[![SensioLabsInsight](https://camo.githubusercontent.com/6808b7eaee4856f434a8eea38eaeeb94713347f7e6e56e8c7ae4b4da8b8aef44/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36343238396334302d663131632d343965662d623239352d3265376563373834643634612f6269672e706e67)](https://insight.sensiolabs.com/projects/64289c40-f11c-49ef-b295-2e7ec784d64a)

php-casperjs is a simple PHP wrapper for the fine library CasperJS designed to automate user testing against web pages.

It is easy to integrate into PHPUnit test case.

Making webcrawler has never been so easy!

Installation
------------

[](#installation)

Before using php-casperjs, you need to install both library:

1 - **PhantomJS**

2 - **CasperJS**

```
npm install phantomjs
npm install casperjs
```

then

```
composer require phpcasperjs/phpcasperjs
```

Usage
-----

[](#usage)

```
