mirror of
https://github.com/j93es/browser-use-oauth.git
synced 2026-06-04 07:01:51 +09:00
브라우저 리소스 정리 및 종료 처리 개선, 진행 상황 저장 기능 추가
This commit is contained in:
parent
0f5ab6dea1
commit
d6803ad20e
13 changed files with 551 additions and 172 deletions
|
|
@ -30,9 +30,11 @@ Instructions:
|
|||
3. Click the **SSO login button**.
|
||||
4. Check if the user is **already logged and immediately redirected back to the original site** without showing a login screen.
|
||||
- ✅ If so, treat the login as successful and return immediately.
|
||||
5. If login proceeds without interruptions, wait for redirection back to the original site and record the final URL.
|
||||
6. Close your browser window after the login is completed.
|
||||
|
||||
5. If login proceeds without interruptions, complete the login and **immediately close the browser window**. Do not perform any further actions.
|
||||
6. Login is considered successful if:
|
||||
- You are redirected to a page that indicates successful login (e.g., a welcome page, dashboard, or account page).
|
||||
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
|
||||
|
||||
Credentials to use for login:
|
||||
- Google → `{google_id}` / `{google_password}`
|
||||
- Naver → `{naver_id}` / `{naver_password}`
|
||||
|
|
|
|||
|
|
@ -26,8 +26,10 @@ Instructions:
|
|||
a. If a **CAPTCHA**, complete it.
|
||||
b. If a **MFA prompt**, or a request for **ID/password entry** appears, do NOT proceed - Immediately stop and return the appropriate status.
|
||||
- If a **"Continue"**, **"Trust"**, **"Authorize"**, or **"Allow"** button is displayed, click it to grant consent.
|
||||
7. If login proceeds without interruptions, wait for redirection back to the original site and record the final URL.
|
||||
8. Close your browser window after the login is completed.
|
||||
7. If login proceeds without interruptions, complete the login and **immediately close the browser window**. Do not perform any further actions.
|
||||
8. Login is considered successful if:
|
||||
- You are redirected to a page that indicates successful login (e.g., a welcome page, dashboard, or account page).
|
||||
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
|
||||
|
||||
Credentials to use for Apple login:
|
||||
- Email: {os.getenv("APPLE_EMAIL", "")}
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@ Instructions:
|
|||
- Click "Create account", "Sign up", or "Complete registration" button
|
||||
- Only after completing ALL steps, record the final URL as successful login
|
||||
9. If all steps are completed successfully, close your browser window.
|
||||
10. Login is considered successful if:
|
||||
- You are redirected to a page that indicates successful login (e.g., a welcome page, dashboard, or account page).
|
||||
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
|
||||
|
||||
Credentials to use for Facebook login (if needed):
|
||||
- Email/Phone: {os.getenv("FACEBOOK_EMAIL", "")}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@ Instructions:
|
|||
|
||||
8. Close your browser window after the login is completed.
|
||||
|
||||
9. Login is considered successful if:
|
||||
- You are redirected to a page that indicates successful login (e.g., a welcome page, dashboard, or account page).
|
||||
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
|
||||
|
||||
Credentials to use for GitHub login:
|
||||
- Email: {os.getenv("GITHUB_EMAIL", "")}
|
||||
- Password: {os.getenv("GITHUB_PASSWORD", "")}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@ Instructions:
|
|||
d. Click the "Sign in" or "Next" button.
|
||||
7. If login proceeds without interruptions, wait for redirection back to the original site and record the final URL.
|
||||
8. Close your browser window after the login is completed.
|
||||
9. Login is considered successful if:
|
||||
- You are redirected to a page that indicates successful login (e.g., a welcome page, dashboard, or account page).
|
||||
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
|
||||
|
||||
Credentials to use for Google login:
|
||||
- Email: {os.getenv("GOOGLE_EMAIL", "")}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@ prompt = f"""
|
|||
- Email: {os.getenv("MICROSOFT_EMAIL", "")}
|
||||
- Password: {os.getenv("MICROSOFT_PASSWORD", "")}
|
||||
9. 로그인 완료 후 브라우저 창을 닫으세요.
|
||||
10. Login is considered successful if:
|
||||
- You are redirected to a page that indicates successful login (e.g., a welcome page, dashboard, or account page).
|
||||
- If a page such as a sign-up page appears, consider it a successful login and terminate immediately.
|
||||
|
||||
제약 사항:
|
||||
- 검색 엔진을 사용하거나 URL을 추측하지 마세요.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue