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

Method fill

packages/browser-preview/src/locators.ts:63–66  ·  view source on GitHub ↗
(text: string, options?: UserEventFillOptions)

Source from the content-addressed store, hash-verified

61 }
62
63 async fill(text: string, options?: UserEventFillOptions): Promise<void> {
64 const element = await this.findElement(options)
65 return userEvent.fill(element, text)
66 }
67
68 async upload(file: string | string[] | File | File[], options?: UserEventUploadOptions): Promise<void> {
69 const element = await this.findElement(options)

Callers

nothing calls this directly

Calls 2

findElementMethod · 0.80
fillMethod · 0.65

Tested by

no test coverage detected