MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / getVerificationCodeTarget

Function getVerificationCodeTarget

content/signup-page.js:114–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114function getVerificationCodeTarget() {
115 const codeInput = document.querySelector(VERIFICATION_CODE_INPUT_SELECTOR);
116 if (codeInput && isVisibleElement(codeInput)) {
117 return { type: 'single', element: codeInput };
118 }
119
120 const singleInputs = Array.from(document.querySelectorAll('input[maxlength="1"]'))
121 .filter(isVisibleElement);
122 if (singleInputs.length >= 6) {
123 return { type: 'split', elements: singleInputs };
124 }
125
126 return null;
127}
128
129function getActionText(el) {
130 return [

Callers 2

inspectLoginAuthStateFunction · 0.85

Calls 1

isVisibleElementFunction · 0.70

Tested by

no test coverage detected