title: Selenium webdriver get all the data attributes of an element
body: <p>Using Selenium webdriver I have the following element</p>
  
  <pre><code>&lt;div data-1223="some data" data-209329="some data" data-dog="some value"&gt;
  </code></pre>
  
  <p>Is there a way to get all the data- attributes of the element?
  For a specific attribute I can use </p>
  
  <pre><code>elem.getAttribute('data-1223') 
  </code></pre>
  
  <p>but how can I get all the data attributes together</p>