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

Method click

packages/browser-webdriverio/src/locators.ts:57–62  ·  view source on GitHub ↗
(options?: UserEventClickOptions)

Source from the content-addressed store, hash-verified

55 }
56
57 public override click(options?: UserEventClickOptions): Promise<void> {
58 return ensureAwaited(async (error) => {
59 const element = await this.findElement(options)
60 return this.withElement(element, error).click(processClickOptions(options))
61 })
62 }
63
64 public override dblClick(options?: UserEventClickOptions): Promise<void> {
65 return ensureAwaited(async (error) => {

Callers

nothing calls this directly

Calls 5

withElementMethod · 0.95
ensureAwaitedFunction · 0.85
findElementMethod · 0.80
processClickOptionsFunction · 0.70
clickMethod · 0.65

Tested by

no test coverage detected