Prepare dedicated Playwright image browser and login checks

This commit is contained in:
Loma Bot Ops
2026-11-23 22:36:22 +07:00
parent df20406cf5
commit ac4d3bf7a5
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -8,5 +8,5 @@ const context = await chromium.launchPersistentContext(path.resolve(process.env.
});
const page = await context.newPage();
await page.goto("https://chatgpt.com/");
console.log("Log in to ChatGPT, then close the browser. Start the worker afterward.");
console.log("Complete browser verification and log in to ChatGPT in this dedicated Chrome window. Confirm that the chat composer is visible, then close this window. Start the worker afterward.");
await new Promise((resolve) => context.once("close", resolve));