I've just created a PHP library for Selenium! It provides some basic features.
- Fluid interface
- IDE code-completion
- Independant library
For the moment, it's very basic (but it works).
I plan to add some extra features later like context management, integrations into Symfony2, maybe Mink too.
Sample code
require_once __DIR__.'/autoload.php';
$client = new Selenium\Client();
$browser = $client->getBrowser('http://alexandre-salome.fr');
// Starts the browser
$browser->start();
$browser
->open('/')
->click(Selenium\Locator::linkContaining('Blog'))
->waitForPageToLoad(10000)
;
echo "Page title: ".$browser->getTitle()."\n";
Available on Github : https://github.com/alexandresalome/PHP-Selenium