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

Function inspectSignupEntryState

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

Source from the content-addressed store, hash-verified

329}
330
331function inspectSignupEntryState() {
332 const passwordInput = getSignupPasswordInput();
333 if (isSignupPasswordPage() && passwordInput) {
334 return {
335 state: 'password_page',
336 passwordInput,
337 submitButton: getSignupPasswordSubmitButton({ allowDisabled: true }),
338 displayedEmail: getSignupPasswordDisplayedEmail(),
339 url: location.href,
340 };
341 }
342
343 const emailInput = getSignupEmailInput();
344 if (emailInput) {
345 return {
346 state: 'email_entry',
347 emailInput,
348 continueButton: getSignupEmailContinueButton({ allowDisabled: true }),
349 url: location.href,
350 };
351 }
352
353 const signupTrigger = findSignupEntryTrigger();
354 if (signupTrigger) {
355 return {
356 state: 'entry_home',
357 signupTrigger,
358 url: location.href,
359 };
360 }
361
362 return {
363 state: 'unknown',
364 url: location.href,
365 };
366}
367
368async function waitForSignupEntryState(options = {}) {
369 const {

Callers 2

waitForSignupEntryStateFunction · 0.85
step3_fillEmailPasswordFunction · 0.85

Calls 7

getSignupPasswordInputFunction · 0.85
isSignupPasswordPageFunction · 0.85
getSignupEmailInputFunction · 0.85
findSignupEntryTriggerFunction · 0.85

Tested by

no test coverage detected