How to use the puppeteer-firefox.launch function in puppeteer-firefox

To help you get started, we’ve selected a few puppeteer-firefox examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / roosterjs / publish / samplesite / instrumentation-tests / config / puppeteer_environment.firefox.js View on Github external
async setup() {
    await super.setup();
    this.global.__BROWSER__ = await puppeteer.launch({
      headless: process.env.RUN_WITH_DISPLAY != 'true'
    });
  }

puppeteer-firefox

Puppeteer API for Firefox

Apache-2.0
Latest version published 4 years ago

Package Health Score

58 / 100
Full package analysis

Similar packages