* @param {string} id The raw ID. * @param {boolean=} noLegacy Whether to exclude the legacy element key. * @return {!Object} The element ID for use with WebDriver's wire protocol.
(id, noLegacy = false)
| 2672 | * @return {!Object} The element ID for use with WebDriver's wire protocol. |
| 2673 | */ |
| 2674 | static buildId(id, noLegacy = false) { |
| 2675 | return noLegacy ? { [ELEMENT_ID_KEY]: id } : { [ELEMENT_ID_KEY]: id, [LEGACY_ELEMENT_ID_KEY]: id } |
| 2676 | } |
| 2677 | |
| 2678 | /** |
| 2679 | * Extracts the encoded WebElement ID from the object. |
no outgoing calls
no test coverage detected