title: Puppeteer Get all data attribute values
body: <p>My html doc is</p>
  
  <pre><code>&lt;div class="inner-column"&gt;
   &lt;div data-thing="abc1"&gt;&lt;/div&gt;
   &lt;div data-thing="abc2"&gt;&lt;/div&gt;
   &lt;div data-thing="abc3"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I get all "data-thing" value (eg. ["abc1", "abc2", "abc3"]) inside div with class .inner-column?</p>
  
  <pre><code>const puppeteer = require('puppeteer');
  const fs = require('fs');
  
  (async () =&gt; {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    page.setViewport({width: 1440, height: 1200})
    await page.goto('https://www.example.com')
  
    const data = await page.content();
  
    await browser.close();
  })();
  </code></pre>