title: Open multiple links in new tab and switch focus with a loop with puppeteer?
body: <p>I have multiple links in a single page whom I would like to access either sequentially or all at once. What I want to do is open all the links in their respective new tabs and get the page as pdf for all the pages. How do I achieve the same with puppeteer?</p>
  
  <p>I can get all the links with a DOM and href property but I don't know how to open them in new tab access them and then close them.</p>