razielsd/webdriverlib

API for JSON Wire Protocol, support Selenium, Selendroid, Appium

0.2.5 2017-02-14 13:47 UTC

This package is not auto-updated.

Last update: 2024-05-25 18:03:07 UTC


README

About

WebDriverLib - simple usage api for JSON Wire Protocol such as Selenium WebDriver.

Example

//connect to Selenium
self::$driver = new WebDriver('localhost', 4444);
//set select field value
$driver->find('xpath=//select')->value(555);
//set input field value
$driver->find('xpath=//input')->value(555);