title: TypeError : WebElement is not iterable
body: <p>In my Python script I am trying to scrape a Twitter page for up to 5 scrolls but my script is throwing a <code>TypeError</code> stating that <code>WebElements</code> is not iterable. Any way to solve this issue.</p>
  
  <pre><code>import time
  
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  
  path_chromedriver = '/Users/SubrataMohanty/Desktop/chromedriver'
  browser = webdriver.Chrome(path_chromedriver)
  base_url = u'https://twitter.com/search?q='
  query = u'%40sachin_rt'
  url = base_url + query
  
  browser.get(url)
  time.sleep(1)
  
  body = browser.find_element_by_tag_name('body')
  
  for _ in range(5) :
      body.send_keys(Keys.PAGE_DOWN)
      time.sleep(0.2)
  
  tweets = browser.find_element_by_class_name('tweet-text')
  
  for tweet in tweets :
      print(tweet.text)
  </code></pre>
  
  <p>Errors :</p>
  
  <pre><code>abhijeet-mohanty-2:Desktop SubrataMohanty$ python tweet_scraper.py 
  Traceback (most recent call last):
    File "tweet_scraper.py", line 23, in &lt;module&gt;
      for tweet in tweets :
  TypeError: 'WebElement' object is not iterable
  </code></pre>