Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

open google chrome in puppeteer macos

      /**
       * create a puppeteer 'Browser' object.
       */
      public static createBrowser(): Promise<Browser> {
        return puppeteer.launch({
          // ... other options
          headless: false,
          executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
        });
      }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #open #google #chrome #puppeteer #macos
ADD COMMENT
Topic
Name
3+7 =