* @param {?} obj the object to test. * @return {boolean} whether the object is a valid encoded WebElement ID.
(obj)
| 33 | * @return {boolean} whether the object is a valid encoded WebElement ID. |
| 34 | */ |
| 35 | function isId(obj) { |
| 36 | return isObject(obj) && (typeof obj[ELEMENT_ID_KEY] === 'string' || typeof obj[LEGACY_ELEMENT_ID_KEY] === 'string') |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Extracts the encoded WebElement ID from the object. |
nothing calls this directly
no test coverage detected