title: Run multiple puppeteer at once
body: <p>I have below script to open a page and take a screenshot.</p>
  
  <pre><code> const puppeteer = require('puppeteer');
  
      (async () =&gt; {
          const browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'] });
          const page = await browser.newPage();
  
  
          await page.goto('https://example');
          const elems = await page.$('.thumbnail');
  
          await elems.screenshot({ path: 'thumbnail.png', type: 'png' });
  
          browser.close();
  
          await console.log("done");
        })();
  </code></pre>
  
  <p>I am running it via php exec command like below.</p>
  
  <pre><code>exec("node test.js ".$mainid." 2&gt;&amp;1", $out, $err);
  print_r($out);
  print_r($err);
  </code></pre>
  
  <p>Its working fine when I run the php script one time.But When I run same 
  script simultaneously , One is stopping in middle and another one prints out error code <strong>124</strong> </p>
  
  <p>I tried headless mode false , and browser.newPage("new context"); as mentioned in their github pages , still not working.</p>