Fork me on GitHub

It’s no secret, that using of the PageObject pattern can drastically simplify functional test writing, but there was no PHP implementation at the moment, that will be close enough to the Selenium Java version.

I decided to fill that gap and created this library which uses all the good parts of the Java implementation, like:

and none of the bad parts, like selectOptionByIndex and such methods, that are there just to preserve backwards compatibility.


Library consist of following 3 parts, which one to use it’s up to you:

Dive into action by looking at the examples, read the documentation or learn more about the api first, it’s up to you.

Required dependencies

Installation using Composer

Define the dependencies in your composer.json:

    "require": {
        "qa-tools/qa-tools": "~1.0"

Install/update your vendors:

$ curl | php
$ php composer.phar install