title: How can i select the following text from the span using Selenium[Python]?
body: <p><strong>Following is the structure:</strong></p>
  
  <pre><code>    &lt;div class="col-sm-12 text-center marginTopMini infoMessage showInfo" ng-class="{ showInfo : servicesCtrl.texts.addressInfo != '' &amp;amp;&amp;amp; servicesCtrl.show.receipt === false }"&gt;
    &lt;div class="infoMessageInner"&gt;
      &lt;p&gt;
        &lt;span ng-bind-html="servicesCtrl.texts.addressInfo" class="ng-binding"&gt;
          Tyvärr kan vi inte erbjuda fiber eller tjänster på denna adress just nu. Vänligen kontrollera att adressen är rättstavad och enligt formatet &lt;b&gt;”Exempelgatan 17A, Ort”&lt;/b&gt;.
          &lt;br&gt;&lt;br&gt;Vi vill ge alla möjlighet till fiberanslutning. Gör en intresseanmälan för din adress så ökar chansen att vi kommer kunna erbjuda fiber även i ditt område.
        &lt;/span&gt;
        &lt;span ng-show="servicesCtrl.address.status === 'Orderable'" class="ng-hide"&gt; 
          &lt;a ng-click="servicesCtrl.preScrollToVerticalPosition('checkout', 'checkout', '/checkoutFiber', undefined, 'Checkout fiber')"&gt;
            Till&amp;nbsp;fiberbeställningen&lt;/a&gt;
          &lt;/span&gt;
          &lt;span ng-show="servicesCtrl.address.status === 'Inquireable'" class=""&gt; 
            &lt;a ng-click="servicesCtrl.preScrollToVerticalPosition('checkout', 'checkout', '/inquiry', undefined, 'Inquiry')"&gt;Till&amp;nbsp;intresseanmälan&lt;/a&gt;
          &lt;/span&gt;
        &lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>How can i select the following paragraph text using selenium**[Python]**. I've tried this method please have a look(doing using python):</p>
  
  <pre><code>driver.find_elements_by_css_selector(".showInfo.infoMessageInner")
  wait.until(EC.presence_of_element_located((By.CSS_SELECTOR,'.showInfo.infoMessageInner')))
  data = driver.find_elements_by_css_selector(".showInfo.infoMessageInner")
  </code></pre>
  
  <p>Please suggest me valid solution that how can i retrieve the following text which is in the above paragraph tag(p). Thanks</p>