This is a asynchronous fork of PHP WebDriver for Selenium 2.
It works fully asynchronously thanks to Promises and React.
And it works best with Cooperative Multitasking [4] and Flow framework [5].
Status: proof of concept
This fork is based on Facebook's original php-webdriver project by Justin Bishop (now being re-written). [1]
Distinguishing features of this fork:
- Up-to-date with Selenium 2 JSON Wire Protocol [2] (including WebDriver commands yet to be documented)
- master branch where class names and file organization follows PSR-0 conventions for php 5.3+ namespaces
- coding style follows Symfony2 coding standard
- auto-generate API documentation via phpDocumentor 2.x [3]
- includes a basic web test runner
The 5.2.x branch (no longer maintained) features class names and file re-organization that follows PEAR/ZF1 conventions. Bug fixes and enhancements from the master branch likely won't be backported.
- Packagist (dev-master) http://packagist.org/packages/instaclick/php-webdriver
- Github https://github.com/instaclick/php-webdriver
[1] | https://github.com/facebook/php-webdriver/ |
[2] | http://code.google.com/p/selenium/wiki/JsonWireProtocol |
[3] | http://phpdoc.org/ |
[4] | https://gist.github.com/juzna/7194037 |
[5] | https://github.com/juzna/flowphp |