Use commit navigation for ChatGPT shares
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ async function extractConversation(browser: Browser, sourceUrl: string): Promise
|
||||
});
|
||||
const page = await context.newPage();
|
||||
page.setDefaultTimeout(config.captureTimeoutMs);
|
||||
await page.goto(sourceUrl, { waitUntil: "domcontentloaded", timeout: config.captureTimeoutMs });
|
||||
await page.goto(sourceUrl, { waitUntil: "commit", timeout: config.captureTimeoutMs });
|
||||
await page
|
||||
.waitForFunction(
|
||||
() => {
|
||||
|
||||
Reference in New Issue
Block a user