playwright/installation-tests/validate-dependencies-skip-executable-path.js
2021-10-11 16:52:17 +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();
})();