MCPcopy
hub / github.com/vercel/next.js / locator

Method locator

test/lib/browsers/playwright.ts:647–649  ·  view source on GitHub ↗
(selector: string, options?: Parameters<(typeof page)['locator']>[1])

Source from the content-addressed store, hash-verified

645 }
646
647 locator(selector: string, options?: Parameters<(typeof page)['locator']>[1]) {
648 return page.locator(selector, options)
649 }
650
651 /** A call that expects to be chained after a previous call, because it needs its value. */
652 private continueChain<TNext>(nextCall: (value: TCurrent) => Promise<TNext>) {

Callers 13

index.test.tsxFile · 0.80
hmr-iframe.test.tsFile · 0.80
waitForRedboxFunction · 0.80
hasElementByCssMethod · 0.80
locateRedboxMethod · 0.80
getMetadataLinksFunction · 0.80
getMetadataMetasFunction · 0.80
app.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected