mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +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();
|
||
|
})();
|