title: Puppeteer Select Link
body: <p>I want to click on a link in a html page, which contains following snippet:</p>
  
  <pre><code>&lt;p&gt;Die maximale Trefferanzahl von 200 wurde überschritten.
    &lt;a href="/rp_web/search.do?doppelt"&gt;Verdoppeln Sie hier  Suchergebnislimit.&lt;/a&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>I'm setting some filters before and then I am loading the page, which loads the page I need. On that resulting page, I want to click on the link as seen in the html snippet. 
  The js I'm trying to use is this one</p>
  
  <pre><code>await Promise.all([
      page.click('input#landNW'), // set a filter
      page.click('input[type=submit]'), // submit the form
      page.waitForNavigation(), // wait for the page to load
      page.click('p a'), // not working: double the search results
      page.waitForNavigation() // not working: waiting for the page to reload
  ]).catch(e =&gt; console.log(e)); // no error
  </code></pre>
  
  <p>I am pretty sure the <code>page.click('p a')</code> is working properly, because in the console of my chrome browser I can do <code>document.querySelector("p a").click()</code>, which then reloads the page as expected.</p>
  
  <p>I have also tried to select the url by using the href attr, e.g. with <code>page.click('a[href="/rp_web/search.do?doppelt"]')</code>, but I got an error:
  <code>No node found for selector: a[href="/rp_web/search.do?doppelt"]</code>.</p>
  
  <p>How can I accomplish what I expect to happen?</p>
  
  <p><strong>EDIT</strong> You can find the complete repo here: <a href="https://bitbucket.org/ytNeskews/puppeteer-attempt/src/master/src/index.js" rel="noreferrer">bitbucket/ytNeskews</a></p>