title: Selenium driver is not reflecting updates after click on link
body: <p>There are some posts about this topic but I cannot find any solution for my case, this is the situation:</p>
  
  <p>I click on a link (a next page):</p>
  
  <pre><code>ActionChains(driver).move_to_element(next_el).click().perform()
  </code></pre>
  
  <p>Then I get the content of the new page(I'm interested on some script sections inside the body)</p>
  
  <pre><code>html = driver.find_element_by_xpath("//*").get_attribute("outerHTML")
  </code></pre>
  
  <p>But that content is always the same, <strong>no matter how long I wait for.</strong></p>
  
  <p>The only way to get the driver with new DOM information is to do a refresh(),
  but for this case that is not a valid option.</p>
  
  <p>Thanks and regards.</p>