title: How to get text same level tags with selenium?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="mw-content-text"&gt;
    &lt;p title="Meanings"   style="margin-bottom: 0.5em;"&gt;
      Meanings
    &lt;/p&gt;
    &lt;dl&gt;
      &lt;dd&gt;
         data1
      &lt;/dd&gt;
    &lt;/dl&gt;
    &lt;p title="Idioms"&gt;
      Idioms
    &lt;/p&gt;
    &lt;dl&gt;
      &lt;dd&gt;
        data2
      &lt;/dd&gt;
     &lt;/dl&gt;
   &lt;/div&gt;</code></pre>
  </div>
  </div>
  
  I want to insert data1 and data2 into different arraylist with selenium. How can I do?</p>