github-actions[bot]
commited on
Commit
·
255f23a
1
Parent(s):
38db016
Update from GitHub Actions
Browse files
functions/utils/authService.ts
CHANGED
@@ -215,7 +215,9 @@ export class AuthService {
|
|
215 |
}
|
216 |
|
217 |
try {
|
218 |
-
await page.waitForURL(
|
|
|
|
|
219 |
// 填写密码 - 双重填写确保成功
|
220 |
await page.fill('input[type="password"]', account.password);
|
221 |
await page.waitForTimeout(500); // 等待页面稳定
|
|
|
215 |
}
|
216 |
|
217 |
try {
|
218 |
+
await page.waitForURL((url) => {
|
219 |
+
return url.href.startsWith('https://login.live.com/oauth20_authorize.srf');
|
220 |
+
}, { timeout: 30000 });
|
221 |
// 填写密码 - 双重填写确保成功
|
222 |
await page.fill('input[type="password"]', account.password);
|
223 |
await page.waitForTimeout(500); // 等待页面稳定
|