mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 09:46:16 +00:00
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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user