Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Running Puppeteer against Edge (Chromium)
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({executablePath: '\\msedge.exe'});
const page = await browser.newPage();
await page.goto('');
await page.screenshot({path: 'example.png'});
await browser.close();

This comment has been minimized.

Copy link

@vandancd vandancd commented Nov 14, 2019

Where is the executable path on macOS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment