title: How to type a text in input box in puppeteer
body: <p>I need to know how can we type a string in input box using puppeteer. I know it can be done like this:</p>
  
  <pre><code>await page.type('input[name=pickup]', 'test comment', {delay: 200})
  </code></pre>
  
  <p>But what if the input box does not have a name or id, and instead it has a value name or title id? Like this:</p>
  
  <pre><code>await page.type('[title id^="pickupAgingComment"]', 'test comment', {delay: 200})
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>await page.type('[value name^="pickupAgingComment"]', 'test comment', {delay: 200}) 
  </code></pre>
  
  <p>The last two does not work actually.</p>