Spaces:
Paused
Paused
fix: workspace 选择后点击"继续"按钮提交
Browse files选了 Idapro 后直接 continue 回循环,没点"继续"按钮,
导致页面一直停在工作空间选择页死循环。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
581 unmodified lines582583584585586587588581 unmodified lines_screenshot(page, f"codex_04_workspace_{step + 1}_after.png")if selected:continue # 选完后重新进入循环,等下一步页面else:logger.warning("[Codex] 无法选择 workspace '%s' (step %d)", workspace_name, step + 1)581 unmodified lines582583584585586587588589590591592593594595596597581 unmodified lines_screenshot(page, f"codex_04_workspace_{step + 1}_after.png")if selected:# 选完 workspace 后点"继续"按钮提交try:cont_btn = page.locator('button:has-text("继续"), button:has-text("Continue")').firstif cont_btn.is_visible(timeout=3000):cont_btn.click()time.sleep(3)logger.info("[Codex] 已点击继续 (step %d)", step + 1)except Exception:passcontinueelse:logger.warning("[Codex] 无法选择 workspace '%s' (step %d)", workspace_name, step + 1)
src/autoteam/codex_auth.py+10-1