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