Sahi.js client for PHP 5.3

Installs: 296 276

Dependents: 10

Stars: 28

Watchers: 6

Forks: 9

Open Issues: 2

Language: PHP

v1.2.0 2015-09-21 20:47 UTC


Latest Stable Version Latest Unstable Version Total Downloads Build Status Scrutinizer Quality Score Code Coverage License

Driver to Sahi JS test automation tool.


  1. First, install & configure Sahi as described here
  2. Install SahiClient deps:

    curl -sS | php
    php composer.phar require behat/sahi-client '~1.1'
  3. After that, you could write/run initial script like this:

    require_once 'vendor/.composer/autoload.php';
    use Behat\SahiClient\Client;
    $client = new Client();
  4. And now, you can work with $client object as with Sahi remote controll:

    $link = $client->findLink('Search!');
    $previousLinkText = $link->getText();
    $h1Text = $client->findHeader(2)->getText();
  5. After tests, turn browser off:



  • Konstantin Kudryashov everzet [lead developer]