title: visible text on a webpage not coming through Python
body: <p>This code seems to work for almost all webpages i want to scrape, but for this webpage :- <a href="https://www.usana.com/ux/dotcom/#!/enu-US/contact" rel="nofollow noreferrer">https://www.usana.com/ux/dotcom/#!/enu-US/contact</a> , it is giving just one line of text, whereas , on the webpage, i can see many addresses are given:-</p>
  <pre><code>options = webdriver.ChromeOptions()    # for cookies
  options.add_argument(r&quot;C:\Users\XXXXX\Selenium&quot;)  # this is the directory for the cookies
  driver = webdriver.Chrome(r'C:\Users\XXXXX\XXXXXX\Documents\chromedriver.exe', options=options)
  driver.set_page_load_timeout(100)
  driver.get(&quot;https://www.usana.com/ux/dotcom/#!/enu-US/contact&quot;)
  
  time.sleep(30)
  try:
      click_alert=driver.switch_to.alert()      # to click on the pop up window
      click_alert.accept()
  except:
      pass
  res = requests.get(driver.current_url,headers = headers)
  soup = BeautifulSoup(res.content, 'lxml')
  txt = soup.text
  print(txt)
  </code></pre>
  <p>I have tried to handle the cookies agreement message and the pop up window that appears on the page, but it still produces just the one line of output as below :-</p>
  <pre><code>USANA Health Sciences
  </code></pre>
  <p>I am seeking to have all the addresses on this page as text.</p>
  <p>What need to be added or edited in the above code ? Any help is highly appreciated</p>