protected function newWebDriverElement($value)
    {
        // is the returned element in the format we expect?
        if (!array_key_exists('ELEMENT', (array) $value)) {
            // no, it is not
            return null;
        }

        return new WebDriverElement(
            $this->getElementPath($value['ELEMENT']), // url
            $value['ELEMENT'] // id
        );
    }