open google chrome in puppeteer macos

Solutions on MaxInterview for open google chrome in puppeteer macos by the best coders in the world

showing results for - "open google chrome in puppeteer macos"
Daniele
14 Jan 2020
1      /**
2       * create a puppeteer 'Browser' object.
3       */
4      public static createBrowser(): Promise<Browser> {
5        return puppeteer.launch({
6          // ... other options
7          headless: false,
8          executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
9        });
10      }
11