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

Function prepareStep8ContinueButton

content/signup-page.js:1791–1805  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

1789}
1790
1791async function prepareStep8ContinueButton(options = {}) {
1792 const {
1793 findTimeoutMs = 10000,
1794 enabledTimeoutMs = 8000,
1795 } = options;
1796
1797 const continueBtn = await findContinueButton(findTimeoutMs);
1798 await waitForButtonEnabled(continueBtn, enabledTimeoutMs);
1799
1800 await humanPause(250, 700);
1801 continueBtn.scrollIntoView({ behavior: 'auto', block: 'center' });
1802 continueBtn.focus();
1803 await waitForStableButtonRect(continueBtn);
1804 return continueBtn;
1805}
1806
1807async function findContinueButton(timeout = 10000) {
1808 const start = Date.now();

Callers 2

step8_findAndClickFunction · 0.85
step8_triggerContinueFunction · 0.85

Calls 4

findContinueButtonFunction · 0.85
waitForButtonEnabledFunction · 0.85
humanPauseFunction · 0.85
waitForStableButtonRectFunction · 0.85

Tested by

no test coverage detected