playwright/packages/installation-tests/validate-dependencies-skip-executable-path.js
2021-04-20 18:54:53 +02:00

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();
})();