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

Method find

lib/locator.js:246–249  ·  view source on GitHub ↗

* @param {CodeceptJS.LocatorOrString} locator * @returns {Locator}

(locator)

Source from the content-addressed store, hash-verified

244 * @returns {Locator}
245 */
246 find(locator) {
247 const xpath = sprintf('%s//%s', this.toXPath(), convertToSubSelector(locator))
248 return new Locator({ xpath })
249 }
250
251 /**
252 * @param {CodeceptJS.LocatorOrString} locator

Callers 15

setupRoutesMethod · 0.45
isFilteredOutFunction · 0.45
isInteractiveFunction · 0.45
scanErrorsFunction · 0.45
parseMappingsFunction · 0.45
coverage.jsFile · 0.45
aiTrace.jsFile · 0.45
persistStepFunction · 0.45
retryFailedStep.jsFile · 0.45
serializeTestFunction · 0.45
filterTestByIdFunction · 0.45
detectAndMarkFunction · 0.45

Calls 2

toXPathMethod · 0.95
convertToSubSelectorFunction · 0.85

Tested by

no test coverage detected