
sunwood-ai-labs/logged-in-google-chrome-skill
Browser automation이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Skill for launching a logged-in Google Chrome session with a dedicated profile and attaching Playwright over CDP.
개요
Use a normal Google Chrome window with a dedicated profile directory, log into Google manually, and then attach Playwright over CDP. This workflow avoids the "This browser or app may not be secure" block that can appear when Google login is attempted from a Playwright-launched browser. https://x.com/haru_maki_ch/status/2031011134564872538 - Launch a dedicated Chrome profile that is safe to reuse for Gmail, Google Account, and other Google web apps - Keep the user's main Chrome profile separate from automation - Attach Playwright after login by using chromium.connectOverCDP(...) - Reuse the same logged-in Chrome session across multiple agent tasks - Include helper scripts for launch, shutdown, and CDP port verification - Ship bilingual project docs with VitePress in English and Japanese Google login often rejects automation-first browser sessions with a message similar to: This repository uses a more stable pattern: 1.
README
원문 README의 일부입니다. 원문 보기.
Use a normal Google Chrome window with a dedicated profile directory, log into Google manually, and then attach Playwright over CDP. This workflow avoids the “This browser or app may not be secure” block that can appear when Google login is attempted from a Playwright-launched browser.
🎬 Demo
https://x.com/haru_maki_ch/status/2031011134564872538
✨ Features
- Launch a dedicated Chrome profile that is safe to reuse for Gmail, Google Account, and other Google web apps
- Keep the user’s main Chrome profile separate from automation
- Attach Playwright after login by using
chromium.connectOverCDP(...) - Reuse the same logged-in Chrome session across multiple agent tasks
- Include helper scripts for launch, shutdown, and CDP port verification
- Ship bilingual project docs with VitePress in English and Japanese
🎯 Why This Exists
Google login often rejects automation-first browser sessions with a message similar to:
This browser or app may not be secure
This repository uses a more stable pattern:
- Start regular Google Chrome with a dedicated
--user-data-dir - Let the user log in manually
- Attach Playwright over CDP only after login succeeds
📋 Requirements
- Windows
- Google Chrome installed
- Node.js 20+ recommended
- A workspace with
playwrightorplaywright-coreavailable when attaching fromjs_repl
🗂️ Repository Layout
logged-in-google-chrome-skill/
|- SKILL.md
|- README.md
|- README.ja.md
|- agents/
| `- openai.yaml
|- references/
| `- troubleshooting.md
|- scripts/
| |- launch_logged_in_chrome.ps1
| |- close_logged_in_chrome.ps1
| `- check_cdp_port.ps1
`- docs/
|- .vitepress/
|- en/
|- guide/
|- ja/
`- public/
🚀 Quick Start
1. Launch dedicated Chrome
powershell -ExecutionPolicy Bypass -File .\scripts\launch_logged_in_chrome.ps1
The launch script now waits until both of these are true before it reports success:
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add sunwood-ai-labs/logged-in-google-chrome-skill