title: How to print an HTML document using Puppeteer?
body: <p>Recently I started to crawl the web using Puppeteer. Below is a code for extracting a specific product name from the shopping mall.</p>
  
  <pre><code>const puppeteer = require('puppeteer');
  
  (async () =&gt; {
  
      const width = 1600, height = 1040;
  
      const option = { headless: false, slowMo: true, args: [`--window-size=${width},${height}`] };
  
      const browser = await puppeteer.launch(option);
      const page = await browser.newPage();
      const vp = {width: width, height: height};
      await page.setViewport(vp);
  
      const navigationPromise = page.waitForNavigation();
  
      await page.goto('https://shopping.naver.com/home/p/index.nhn');
      await navigationPromise;
      await page.waitFor(2000);
  
      const textBoxId = 'co_srh_input';
      await page.type('.' + textBoxId, '양말', {delay: 100});
      await page.keyboard.press('Enter');
  
      await page.waitFor(5000);
      await page.waitForSelector('div.info &gt; a.tit');
  
      const stores = await page.evaluate(() =&gt; {
          const links = Array.from(document.querySelectorAll('div.info &gt; a.tit'));
          return links.map(link =&gt; link.innerText).slice(0, 10)   // 10개 제품만 가져오기
      });
  
      console.log(stores);
      await browser.close();
  
  })();
  </code></pre>
  
  <p>I have a question. How can I output the crawled results to an HTML document (without using the database)? Please use sample code to explain it.</p>