title: get text from element with <br> on its composition, using Python Selenium
body: <p>I'm pulling contact information (text) from a website and I can currently pull all the class data, using the following <code>xpath</code> syntax:</p>
  
  <pre><code>//*[@id="nomapdata"]/div/div/div/div[2]/div[1]
  </code></pre>
  
  <p>Using this <code>xpath</code> for the element, I get the following text as result:</p>
  
  <pre><code>Name
  Title
  Company Website
  Phone Number
  </code></pre>
  
  <p>What I want to do, is to pull each of these elements individually, but the problem is that, the data is separated by <code>&lt;br&gt;    &lt;/br&gt;</code>, and I haven't had success on isolating each element.</p>
  
  <p>Below is an example of the HTML structure:</p>
  
  <pre><code>&lt;div class="col-sm-d"&gt;
  "
                    Name"
  &lt;br&gt;
  "
                                Title"
  &lt;br&gt;
  a href="www.website.com" target="_blank"&gt;http://www.website.com&lt;/a&gt;
  &lt;br&gt;
  "
  
  Phone: (555) 555-5555"
  &lt;br&gt;
  </code></pre>
  
  <p>The only element I am able to isolate is the website. </p>
  
  <p>How can I isolate each data on this scenario?</p>