0

This initialization works well even if we are not passing executablePath in LaunchOptions in puppeteer.launch()

const browser = await puppeteer.launch();

What is default value of executablePath?

Alok
  • 7,734
  • 8
  • 55
  • 100
  • 1
    Near-dupe of [How to find which chrome executable is getting used by Puppeteer?](https://stackoverflow.com/questions/74888444/how-to-find-which-chrome-executable-is-getting-used-by-puppeteer) – ggorlen Dec 22 '22 at 16:37

1 Answers1

0

The path will change based on the platform that you install puppeteer on.

https://github.com/puppeteer/puppeteer/blob/main/packages/puppeteer/src/node/install.ts
has methods for finding that path.

Alok
  • 7,734
  • 8
  • 55
  • 100