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

Function isFocused

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

Source from the content-addressed store, hash-verified

149 }
150
151 async function isFocused(selector: string) {
152 return await page.$eval(selector, node => node === document.activeElement)
153 }
154
155 async function setValue(selector: string, value: string) {
156 await page.$eval(

Callers 1

testTodomvcFunction · 0.70

Calls 1

$evalMethod · 0.80

Tested by

no test coverage detected