title: **AttributeError: 'NoneType' error. An issue with BS
body: <p>I am trying to run this code using beautifulsoup, but I get the following error:</p>
  <p><strong>AttributeError: 'NoneType' object has no attribute 'text'</strong></p>
  <p>Here are the code lines:</p>
  <pre><code>pageSoup = soup(browser.page_source, 'html.parser')
  pages = pageSoup.find('span',  {'class', 'textual-pager text-muted'}).text.strip()
  
  -break-
  </code></pre>