Download the PHP package alexandresalome/php-selenium without Composer
On this page you can find all versions of the php package alexandresalome/php-selenium. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexandresalome/php-selenium
More information about alexandresalome/php-selenium
Files in alexandresalome/php-selenium
Package php-selenium
Short Description PHP Library for Selenium
License MIT
Informations about the package php-selenium
PHP Selenium library
DEPRECATED
This library is deprecated, because it relies on Selenium1 protocol, a very old protocol. No support will be provided for this repository. If you want to continue using it, please fork it and maintain it on your own.
You can also consider migrating to Facebook PHP-WebDriver: https://github.com/facebook/php-webdriver
Description
Selenium is a tool for web test automation. This library is a client of the Selenium Server for PHP.
It provides a fluid interface with autocompletion and documentation in modern IDEs.
<?php
// ...
$browser
->open('/')
->click(Selenium\Locator::linkContaining('Blog'))
->waitForPageToLoad()
;
echo $browser->getTitle();
Requirements :::::::::::
To use this library you will need :
- PHP 5.3
- A Selenium Server
Dependencies :::::::::::
2 dependencies are present in sub-modules :
- Symfony2 DomCrawler : used for generating the Browser class
- Symfony2 ClassLoader : used in
autoload.php
It's up to you to decide how to use it.
How to include it ? ::::::::::::::::::
To make it work, you just need to add the classes to your autoloader.
If you have no existing autoloader, include autoload.php
How to use it ? ::::::::::::::
Take a look at examples in test/
folder.
References :::::::::
- Selenium Download Page : http://seleniumhq.org/download/
- Selenium Core Reference : http://release.seleniumhq.org/selenium-core/1.0/reference.html
- Client Driver Protocol : http://wiki.openqa.org/display/SRC/Specifications+for+Selenium+Remote+Control+Client+Driver+Protocol