title: Puppeteer not waiting for timeout
body: <p>I have a page with a list of company names. This list is initially limited by 200 results, but there is a link to double that limit. With every click the loading time rises up to a few minutes.</p>
  
  <p>I am using following code.</p>
  
  <pre><code>/**
   * @param {object} page - a puppeteer page object
   * @param {number} by - how many times I need to click on the link
   */
  async function multiply(page, by = 5) {
      for (let i = 0; i &lt; by; i++) {
          await Promise.all([
              // Manual clicking of the link
              page.$eval('p a', el =&gt; el.click()),
  
              // set a timeout of 8 minutes
              page.waitForNavigation(480000) 
          ]).catch(e =&gt; console.log(e));
      }
  }
  </code></pre>
  
  <p>I expect a timeout of 8 minutes, but I get the follwing error:</p>
  
  <pre><code>Error: Navigation Timeout Exceeded: 30000ms exceeded
  </code></pre>
  
  <p>I have also tried to wait for Navigation <strong>before</strong> clicking on the link. Then I tried to manually wait for a defined timeout with <code>page.waitFor(i ** 2 * 10000)</code> - but no luck. Waiting for the selector to be in the html did not work either.</p>
  
  <p>I am not using <code>page.click('p a')</code>, because it is confirmed as a bug <a href="https://github.com/GoogleChrome/puppeteer/issues/2798" rel="nofollow noreferrer">here</a>.</p>
  
  <p>You may wanna have a look at another  <a href="https://stackoverflow.com/questions/51011466/puppeteer-select-link">already-solved question</a> to my project, which describes my use case little bit more in detail.</p>
  
  <p>If you want to have a closer look, you can clone the complete repo by clicking on <a href="https://bitbucket.org/ytNeskews/puppeteer-attempt/src/295cda1a633cf667bc914ae9376814b6e6a0c4dc/src/multiply.js?at=feature%2Finit_tests" rel="nofollow noreferrer">bitbucket.org/ytNewskews</a>.</p>