let playwright users specify this

This commit is contained in:
Kyle McNally 2024-07-17 09:50:40 -04:00
parent 8037abb918
commit 7d6d9c4cf9
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ test("Check the page title of example.com", async (t) => {
const browser = await playwright.launch({ const browser = await playwright.launch({
args: chromium.args, args: chromium.args,
executablePath: await chromium.executablePath(), executablePath: await chromium.executablePath(),
headless: chromium.headless, headless: true,
}); });
const context = await browser.newContext(); const context = await browser.newContext();