Skip to content

The browser automatically close while logging in - V4 #35

@michaelthanhviet

Description

@michaelthanhviet

After entering the OTP code, the browser proceeds to log in, but it then automatically closes, causing the program to crash.
LOG:
[2/27/2026, 5:09:11 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN-TOTP] No TOTP secret provided, awaiting manual input
Enter the 6-digit TOTP code (waiting 60s): 304039
[2/27/2026, 5:09:20 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN-TOTP] Filled TOTP input
[2/27/2026, 5:09:24 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN-TOTP] TOTP authentication completed successfully
[2/27/2026, 5:09:24 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN] TOTP 2FA handler completed successfully
[2/27/2026, 5:09:26 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN] State transition: 2FA_TOTP → KMSI_PROMPT
[2/27/2026, 5:09:26 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN] Accepting KMSI prompt
[2/27/2026, 5:09:33 PM] [michaelthanhviet] [INFO] MOBILE [LOGIN] KMSI prompt accepted
[2/27/2026, 5:09:34 PM] [michaelthanhviet] [ERROR] MOBILE [LOGIN] Fatal error: Page closed unexpectedly
[2/27/2026, 5:09:34 PM] [michaelthanhviet] [ERROR] MOBILE [CLOSE-BROWSER] An error occurred: browserContext.cookies: Target page, context or browser has been closed
[2/27/2026, 5:09:34 PM] [michaelthanhviet] [ERROR] MOBILE [FLOW] Mobile flow failed for michaelthanhviet@outlook.com: Page closed unexpectedly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions