MCPcopy
hub / github.com/vuejs/core / evaluate

Method evaluate

packages/vue/__tests__/e2e/e2eBrowserUtils.ts:113–113  ·  view source on GitHub ↗
(fn: () => R | Promise<R>)

Source from the content-addressed store, hash-verified

111 goto(url?: string): Promise<void>
112 waitForSelector(selector: string): Promise<Element>
113 evaluate<R>(fn: () => R | Promise<R>): Promise<R>
114 evaluate<Arg, R>(fn: (arg: Arg) => R | Promise<R>, arg: Arg): Promise<R>
115 exposeFunction(name: string, fn: (...args: any[]) => any): Promise<void>
116 $eval<R>(selector: string, fn: (node: Element) => R | Promise<R>): Promise<R>

Callers 15

classWhenTransitionStartFunction · 0.65
Transition.spec.tsFile · 0.65
svgTransitionStartFunction · 0.65
isCollectedFunction · 0.65
assertPolygonFunction · 0.65
assertLabelsFunction · 0.65
assertStatsFunction · 0.65
isCollectedFunction · 0.65
typeValueFunction · 0.65
enterValueFunction · 0.65

Calls

no outgoing calls

Tested by 15

classWhenTransitionStartFunction · 0.52
svgTransitionStartFunction · 0.52
isCollectedFunction · 0.52
assertPolygonFunction · 0.52
assertLabelsFunction · 0.52
assertStatsFunction · 0.52
isCollectedFunction · 0.52
typeValueFunction · 0.52
enterValueFunction · 0.52
timeoutFunction · 0.52
nextFrameFunction · 0.52
getColorFunction · 0.52