title: How to click on View More link and scrape the contents through Selenium and Python
body: <p>I am using Selenium to scrape customer reviews and other data of interest (number of stars given, date of review, how many found it useful etc)</p>
  
  <p>I have it all working except some reviews are lengthy and have a "See More" button to reveal more text.  I can't seem to capture this text.  I am using <em>driver.find_elements_by_xpath</em></p>
  
  <p>Here is an example of the webpage with the "View More" on the first post:
   <a href="https://www.consumeraffairs.com/insurance/metlife_disabil.html?page=3" rel="nofollow noreferrer">https://www.consumeraffairs.com/insurance/metlife_disabil.html?page=3</a>  </p>
  
  <p>I tried to scrape by using several variations of:</p>
  
  <pre><code>review_SeeMore = driver.find_elements_by_xpath('(//div[@class="js-collapsed"]/p)')
  </code></pre>
  
  <p>I don't think I should have to but I also tried clicking the button using the following selector:</p>
  
  <pre><code>review_SeeMore = driver.find_elements_by_xpath('(//div[@class="js-expanded"]/p)')
  </code></pre>