build(docs): enable headless mode

This commit is contained in:
Eric Liu 2020-10-07 12:19:14 -07:00
commit f68d38b7ce

View file

@ -41,7 +41,7 @@ const app = polka()
process.exit(1);
}
const browser = await playwright.launchChromium();
const browser = await playwright.launchChromium({ headless: true });
const context = await browser.newContext();
const page = await context.newPage();