MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / _isShadowLocator

Method _isShadowLocator

lib/helper/WebDriver.js:829–831  ·  view source on GitHub ↗

* Check if locator is type of "Shadow" * * @param {object} locator

(locator)

Source from the content-addressed store, hash-verified

827 * @param {object} locator
828 */
829 _isShadowLocator(locator) {
830 return locator.type === SHADOW || locator[SHADOW]
831 }
832
833 /**
834 * Locate Element within the Shadow Dom

Callers 2

_resMethod · 0.95
_locateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected