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

Function text

packages/vue/__tests__/e2e/e2eUtils.ts:104–106  ·  view source on GitHub ↗
(selector: string)

Source from the content-addressed store, hash-verified

102 }
103
104 async function text(selector: string): Promise<string | null> {
105 return page.$eval(selector, node => node.textContent)
106 }
107
108 async function value(selector: string): Promise<string> {
109 return page.$eval(selector, node => (node as HTMLInputElement).value)

Callers 9

assertTableFunction · 0.70
testGridFunction · 0.70
testCommitsFunction · 0.70
testTreeFunction · 0.70
assertHydrationSuccessFunction · 0.70
testTodomvcFunction · 0.70
assertInteractionFunction · 0.70

Calls 1

$evalMethod · 0.80

Tested by

no test coverage detected