This library allows you to manipulate browsers remotely.
WebDriver was initiated by Selenium-group and consists of a Restful API to manipulate a browser remotely (cookies, forms, DOM inspection, screenshots...).
This library provides a PHP interface for WebDriver manipulation.
Documentation:
Add the library to your composer.json:
{
"require": {
"alexandresalome/php-webdriver": "~0.3"
}
}
v0.3
- New method to test if an element is displayed (
$element->isDisplayed()
) - Behat
- Add a timeout spin on step
I should not see "some text"
- Add a timeout spin on step
v0.2
- new element method on element
$element->getElement($by)
- Behat
- Provide a context for Behat testing
v0.1
- Cookie management
- Element crawling
- Javascript methods
- Client & Browser management
- WebDriver JSON Wire Protocol: http://www.w3.org/TR/webdriver/
- Selenium downloads: http://docs.seleniumhq.org/download/