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

Function prepareStep8DebuggerClick

background.js:6068–6088  ·  view source on GitHub ↗
(tabId)

Source from the content-addressed store, hash-verified

6066}
6067
6068async function prepareStep8DebuggerClick(tabId) {
6069 await ensureStep8SignupPageReady(tabId, {
6070 timeoutMs: 15000,
6071 logMessage: '步骤 8:认证页内容脚本已失联,正在恢复后继续定位按钮...',
6072 });
6073 const result = await sendToContentScriptResilient('signup-page', {
6074 type: 'STEP8_FIND_AND_CLICK',
6075 source: 'background',
6076 payload: {},
6077 }, {
6078 timeoutMs: 15000,
6079 retryDelayMs: 600,
6080 logMessage: '步骤 8:认证页正在切换,等待 OAuth 同意页按钮重新就绪...',
6081 });
6082
6083 if (result?.error) {
6084 throw new Error(result.error);
6085 }
6086
6087 return result;
6088}
6089
6090async function triggerStep8ContentStrategy(tabId, strategy) {
6091 await ensureStep8SignupPageReady(tabId, {

Callers 1

executeStep8Function · 0.85

Calls 2

Tested by

no test coverage detected