title: Input text while running puppeteer
body: <p>I'm trying to automate form filling in one site. but the problem is, that site has an captcha. So Is there any way that when the login page is showing, I can enter the captcha manually in the command prompt like <code>Console.ReadLine();</code> from C#. Is there any similar function available in puppeteer?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>const puppeteer = require('puppeteer');
  
  (async () =&gt; {
      const browser = await puppeteer.launch({headless: false});
      const page = await browser.newPage();
      await page.setViewport({ width: 1366, height: 768});
      await page.goto('https://www.irctc.co.in/nget/train-search');
      await page.click('#loginText');
      await page.type('#userId','xxxxxx');
      await page.type('#pwd','xxxxxx');
      await page.screenshot({path: 'varanjith.png'});
  })();
  </code></pre>
  
  <p>Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/19lB0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/19lB0.png" alt="enter image description here"></a></p>