fix: improve email typing with verification and remove example accounts file

This commit is contained in:
Rempacious
2025-12-09 14:45:05 +08:00
parent 62d905f398
commit e98edd6b93
5 changed files with 71 additions and 95 deletions

View File

@@ -322,7 +322,8 @@ export class Login {
if (checkCount % 3 === 0) {
await Promise.allSettled([
this.passkeyHandler.handlePasskeyPrompts(page, 'oauth'),
this.totpHandler.tryAutoTotp(page, 'mobile-oauth')
this.totpHandler.tryAutoTotp(page, 'mobile-oauth'),
this.bot.browser.utils.tryDismissAllMessages(page)
])
}
@@ -837,7 +838,8 @@ export class Login {
if (checkCount % 3 === 0) {
await Promise.allSettled([
this.passkeyHandler.handlePasskeyPrompts(page, 'main'),
this.totpHandler.tryAutoTotp(page, 'post-password wait')
this.totpHandler.tryAutoTotp(page, 'post-password wait'),
this.bot.browser.utils.tryDismissAllMessages(page)
])
} else {
await this.passkeyHandler.handlePasskeyPrompts(page, 'main')