2017 © Pedro Peláez
 

library sahi-client

Sahi.js client for PHP 5.3

image

behat/sahi-client

Sahi.js client for PHP 5.3

  • Saturday, March 5, 2016
  • by everzet
  • Repository
  • 6 Watchers
  • 31 Stars
  • 550,288 Installations
  • PHP
  • 11 Dependents
  • 0 Suggesters
  • 9 Forks
  • 2 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

SahiClient

Latest Stable Version Latest Unstable Version Total Downloads Build Status Scrutinizer Quality Score Code Coverage License, (*1)

Driver to Sahi JS test automation tool., (*2)

Usage

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

    bash curl -sS https://getcomposer.org/installer | php php composer.phar require behat/sahi-client '~1.1', (*4)

  3. After that, you could write/run initial script like this:, (*5)

    ``` php <?php, (*6)

    require_once 'vendor/.composer/autoload.php';, (*7)

    use Behat\SahiClient\Client;, (*8)

    $client = new Client(); $client->start('firefox'); ```, (*9)

  4. And now, you can work with $client object as with Sahi remote controll:, (*10)

    ``` php <?php, (*11)

    $client->navigateTo('http://some_page.loc');, (*12)

    $link = $client->findLink('Search!'); $previousLinkText = $link->getText(); $link->click();, (*13)

    $h1Text = $client->findHeader(2)->getText(); ```, (*14)

  5. After tests, turn browser off:, (*15)

    php <?php $client->stop();, (*16)

Contributors

  • Konstantin Kudryashov everzet [lead developer]

The Versions

05/03 2016

dev-master

9999999-dev http://sahi.co.in/w/

Sahi.js client for PHP 5.3

  Sources   Download

MIT

The Requires

 

The Development Requires

testing js browser

05/03 2016

v1.2.1

1.2.1.0 http://sahi.co.in/w/

Sahi.js client for PHP 5.3

  Sources   Download

MIT

The Requires

 

The Development Requires

testing js browser

21/09 2015

v1.2.0

1.2.0.0 http://sahi.co.in/w/

Sahi.js client for PHP 5.3

  Sources   Download

MIT

The Requires

 

The Development Requires

testing js browser

17/02 2013

v1.1.0

1.1.0.0 http://sahi.co.in/w/

Sahi.js client for PHP 5.3

  Sources   Download

MIT

The Requires

 

testing js browser

21/12 2011

v1.0.1

1.0.1.0 http://sahi.co.in/w/

Sahi.js client for PHP 5.3

  Sources   Download

MIT

The Requires

 

testing js browser

19/12 2011

v1.0.0

1.0.0.0 http://sahi.co.in/w/

Sahi.js client for PHP 5.3

  Sources   Download

MIT

The Requires

 

testing js browser