title: After opening multiple pages with Puppeteer I get blank pages
body: <p>I apologize if I duplicated the topic, but everything I've tried so far doesn't help.
  I am trying to scraping some details data from each links from ads.
  After opened few links, I get each next time blank page without any data.
  Also, if I stop script and start it again I can't do it(because I received blank page on the start) and need to wait few minutes.
  This is code and can you please said me where I made mistake.</p>
  <p>Thank you :)</p>
  <pre><code>const puppeteer = require(&quot;puppeteer-extra&quot;);
  
  (async () =&gt; {
    const browser = await puppeteer.launch({
      headless: false,
      args: [
        &quot;--no-sandbox&quot;,
        &quot;--disable-setuid-sandbox&quot;,
        &quot;--disable-infobars&quot;,
        &quot;--window-position=0,0&quot;,
        &quot;--ignore-certifcate-errors&quot;,
        &quot;--ignore-certifcate-errors-spki-list&quot;,
        '--user-agent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3312.0 Safari/537.36&quot;',
      ],
    });
  
    const page = await browser.newPage();
    await page.goto(
      &quot;https://www.ebay-kleinanzeigen.de/s-immobilien/01309/c195l23973&quot;
    );
  
    const banner = (await page.$(&quot;#gdpr-banner-accept&quot;)) !== null;
  
    if (banner) {
      await Promise.all([page.click(&quot;#gdpr-banner-accept&quot;)]);
    }
    let isBtnDisabled = false;
    while (!isBtnDisabled) {
      const productsHandles = await page.$$(&quot;.ad-listitem.lazyload-item&quot;);
      for (const producthandle of productsHandles) {
        try {
          link = await page.evaluate(
            (el) =&gt; el.querySelector(&quot;a.ellipsis&quot;).href,
            producthandle
          );
  
          const eachPage = await browser.newPage();
          await eachPage.goto(link, {
            waitUntil: &quot;networkidle0&quot;,
          });
          await eachPage.waitForSelector(&quot;#viewad-price&quot;, {
            visible: true,
          });
          const price = await eachPage.$eval(
            &quot;#viewad-price&quot;,
            (price) =&gt; price.textContent
          );
          console.log(price);
          eachPage.close();
        } catch (error) {
          console.log(error);
        }
      }
  
      await page.waitForSelector(&quot;#srchrslt-pagination &gt; div&quot;, { visible: true });
      const is_disabled =
        (await page.$(
          &quot;#srchrslt-pagination &gt; div &gt; div.pagination-nav &gt; .pagination-next&quot;
        )) === null;
  
      isBtnDisabled = is_disabled;
      if (!is_disabled) {
        await Promise.all([
          page.click(&quot;.pagination-nav &gt; .pagination-next&quot;),
          page.waitForNavigation({ waitUntil: &quot;networkidle2&quot; }),
        ]);
      }
    }
  
    await browser.close();
  })();
  </code></pre>