We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6070272 commit 8a7d738Copy full SHA for 8a7d738
1 file changed
scripts/compile-search-index.ts
@@ -17,6 +17,8 @@ const browser = await puppeteer.launch({
17
const page = await browser.newPage();
18
await page.goto("http://localhost:3000");
19
await page.waitForSelector("main");
20
+const textContent = await page.evaluate(() => document.body.textContent);
21
+console.log("TESTING:", textContent);
22
// TESTING ...
23
24
await compileSearchIndex({
0 commit comments