logged-in-google-chrome
Installation
SKILL.md
Logged In Google Chrome
Use a dedicated Chrome user-data-dir and attach Playwright only after Chrome is already running.
Quick Start
- Run scripts/launch_logged_in_chrome.ps1 to start normal Chrome with a dedicated profile folder and a CDP port. The script now waits for the dedicated-profile Chrome process and the CDP endpoint before it reports success.
- Let the user log in manually if the profile is not logged in yet.
- In
js_repl, attach Playwright withchromium.connectOverCDP("http://127.0.0.1:<port>"). - Reuse the attached browser and page handles for the rest of the task.
Defaults
- Default user-data-dir:
D:\Prj\onizuka-playwright-profile - Default CDP port:
9222 - Default login URL:
https://accounts.google.com/