MCPcopy
hub / github.com/codeceptjs/CodeceptJS / _lookupCustomLocator

Method _lookupCustomLocator

lib/helper/WebDriver.js:610–616  ·  view source on GitHub ↗
(customStrategy)

Source from the content-addressed store, hash-verified

608 }
609
610 _lookupCustomLocator(customStrategy) {
611 if (typeof this.customLocatorStrategies !== 'object') {
612 return null
613 }
614 const strategy = this.customLocatorStrategies[customStrategy]
615 return typeof strategy === 'function' ? strategy : null
616 }
617
618 _isCustomLocator(locator) {
619 const locatorObj = new Locator(locator)

Callers 2

_isCustomLocatorMethod · 0.95
_startBrowserMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected