MCPcopy
hub / github.com/codeceptjs/CodeceptJS / clientSideFn

Function clientSideFn

lib/helper/scripts/focusElement.js:2–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export const focusElement = (element, context) => {
2 const clientSideFn = el => {
3 el.focus()
4 }
5
6 try {
7 // Puppeteer

Callers

nothing calls this directly

Calls 1

focusMethod · 0.45

Tested by

no test coverage detected