mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
10 lines
265 B
JavaScript
10 lines
265 B
JavaScript
const playwright = require('playwright');
|
|
|
|
process.env.PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS = 1;
|
|
|
|
(async () => {
|
|
const browser = await playwright.chromium.launch({
|
|
executablePath: playwright.chromium.executablePath()
|
|
});
|
|
await browser.close();
|
|
})(); |