playwright/tests/installation/fixture-scripts/validate-dependencies-skip-executable-path.js

10 lines
265 B
JavaScript
Raw Normal View History

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