title: create a chrome extension that will click & print those webpages automatically into PDF
body: <p>I have looked through the forum but couldn't find an answer to printing websites as PDFs.</p>
  
  <h2>Problem:</h2>
  
  <p>I have to log onto a secure webpage (that require login) and then print multiple webpages as PDF.<br>
  For example,</p>
  
  <ol>
  <li><p>Login to Gmail</p></li>
  <li><p>Print the Inbox Tab as PDF using Ctrl P </p></li>
  <li><p>Print the Sent Tab as PDF using Ctrl P</p></li>
  <li><p>Print the Label Tab as PDF using Ctrl P</p></li>
  </ol>
  
  <h2>My current process:</h2>
  
  <ul>
  <li>Just login and click into each link and print the webpage into PDF one by one</li>
  </ul>
  
  <h2>The idea:</h2>
  
  <p>Currently, I am trying to create a chrome extension that will click &amp; print those webpages automatically into PDF.</p>
  
  <p>(Since I am already logging in manually - there is no need to code the login part. Just to code the print as PDF, using adobe pdf as printer, and clicking to that webpage automatically)</p>
  
  <p>Please let me know how you would approach it. Or if there is an existing script I can learn from.</p>
  
  <p>Resources I have found so far:</p>
  
  <ul>
  <li><a href="http://www.htmlgoodies.com/beyond/javascript/article.php/3471121" rel="noreferrer">http://www.htmlgoodies.com/beyond/javascript/article.php/3471121</a></li>
  <li><a href="https://stackoverflow.com/questions/25897618/automate-print-website-to-pdf-while-changing-input-value">automate print website to pdf while changing input value</a></li>
  </ul>