title: Selenium for loop printing the same value each time
body: <p>I'm trying to loop through a list of events for every game and retrieve the minute that the event occured using a for loop.</p>
  <p>However, my loop keeps printing the same value and I'm not sure why. When I print i.text, my code works as expected, but when I try to retrieve the minute using xpath, I keep receiving the first value.</p>
  <p>What I expected</p>
  <pre><code>27
  37
  39
  </code></pre>
  <p>What I get</p>
  <pre><code>27
  27
  27
  </code></pre>
  <p>My code</p>
  <pre><code>    driver = webdriver.Chrome()
      driver.get(&quot;https://www.forebet.com/en/football-predictions/predictions-1x2/2021-07-02&quot;)
      driver.maximize_window()
  
  
      games = driver.find_elements_by_xpath('//div[contains(@class, &quot;rcnt&quot;)]')
  
  
      for x in games:
          try:
              driver.execute_script(&quot;arguments[0].click();&quot;, x.find_element_by_class_name(&quot;l_scr&quot;))
              time.sleep(1)       
              events = x.find_elements_by_xpath('//div[contains(@class, &quot;lscr_main&quot;)]')
  
              for i in events:
                  print(i.text)
                  print(i.find_element_by_xpath('//div[contains(@class, &quot;lscr_min&quot;)]').text)
  
              x.find_elements_by_xpath('//div[contains(@onclick, &quot;scoreEvents&quot;)]')
  
  
          except Exception as e:
              return e
  </code></pre>
  <p>Am I missing something here? Thanks in advance.</p>