Skip to content

Instantly share code, notes, and snippets.

Embed
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('https://example.com');
await page.screenshot({path: 'example.png'});
await browser.close();
})();
@vandancd

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