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

Method fill

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

Source from the content-addressed store, hash-verified

118 }
119
120 public override fill(text: string, options?: UserEventFillOptions): Promise<void> {
121 return ensureAwaited(async (error) => {
122 const element = await this.findElement(options)
123 return this.withElement(element, error).fill(text, options)
124 })
125 }
126
127 public override screenshot(options?: LocatorScreenshotOptions): Promise<any> {
128 return ensureAwaited(async (error) => {

Callers

nothing calls this directly

Calls 4

withElementMethod · 0.95
ensureAwaitedFunction · 0.85
findElementMethod · 0.80
fillMethod · 0.65

Tested by

no test coverage detected