Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

265 B
Raw Blame
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();
})();