Added dialog handlers to prevent native pop-ups when using the browser and removed the old dialog handling code in the login process.

This commit is contained in:
2025-12-22 22:19:48 +01:00
parent 94272ac7f3
commit a80321274f
2 changed files with 26 additions and 4 deletions

View File

@@ -228,10 +228,6 @@ export class Login {
await this.disableFido(page)
// CRITICAL: Setup dialog handlers BEFORE any login interactions
// This prevents native browser dialogs (Bluetooth, Windows Hello, Passkey) from blocking automation
this.passkeyHandler.setupDialogHandlers(page)
const [reloadResult, totpResult, portalCheck] = await Promise.allSettled([
this.bot.browser.utils.reloadBadPage(page),
this.totpHandler.tryAutoTotp(page, 'initial landing'),