session token fix for captcha

This commit is contained in:
2026-10-09 12:39:32 +05:30
parent 385a9e22cc
commit d9218709f0
8 changed files with 76 additions and 23 deletions
+4 -1
View File
@@ -67,7 +67,10 @@ def get_setup_configs(mode, config=None):
session = setup.get("run_session", True)
token = setup.get("run_token", True)
matches = {
"combined": session and token or (name.startswith("UPC_") and token),
# The full setup run owns every enabled product that has work to do.
# Products without tokens (for example RA) still belong in this
# shared browser flow; the combined test skips only their token step.
"combined": session or token,
"session": session and not token,
"token": token and not session,
}