Skip to content

Commit 8a7d738

Browse files
committed
Testing ...
1 parent 6070272 commit 8a7d738

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/compile-search-index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ const browser = await puppeteer.launch({
1717
const page = await browser.newPage();
1818
await page.goto("http://localhost:3000");
1919
await page.waitForSelector("main");
20+
const textContent = await page.evaluate(() => document.body.textContent);
21+
console.log("TESTING:", textContent);
2022
// TESTING ...
2123

2224
await compileSearchIndex({

0 commit comments

Comments
 (0)