MCPcopy
hub / github.com/vitest-dev/vitest / nth

Method nth

packages/browser/context.d.ts:704–704  ·  view source on GitHub ↗

* Returns a locator for the nth element matching the selector. * @see {@link https://vitest.dev/api/browser/locators#nth}

(index: number)

Source from the content-addressed store, hash-verified

702 * @see {@link https://vitest.dev/api/browser/locators#nth}
703 */
704 nth(index: number): Locator
705 /**
706 * Returns a locator for the first element matching the selector.
707 * @see {@link https://vitest.dev/api/browser/locators#first}

Callers 9

firstFunction · 0.80
lastFunction · 0.80
ViewReport.spec.tsFile · 0.80
SmallTabs.spec.tsFile · 0.80
blog.test.tsxFile · 0.80
ui.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected