abstract class JsonWireCompat (View source)

internal  
 

Compatibility layer between W3C's WebDriver and the legacy JsonWire protocol.

Constants

WEB_DRIVER_ELEMENT_IDENTIFIER

Element identifier defined in the W3C's WebDriver protocol.

Methods

static 
getElement(mixed $rawElement)

No description

static array
getUsing(WebDriverBy $by, bool $isW3cCompliant)

No description

Details

static getElement(mixed $rawElement)

No description

Parameters

mixed $rawElement

Value is validated to by an array, exception is thrown otherwise

Exceptions

UnexpectedResponseException

static array getUsing(WebDriverBy $by, bool $isW3cCompliant)

No description

Parameters

WebDriverBy $by
bool $isW3cCompliant

Return Value

array