title: WebDriver / Can I identify DOM changes by WebDriver?
body: <p>I trying to get all elements which were changed After I click on element.</p>
  
  <p>I try to do the next:</p>
  
  <pre><code>List&lt;WebElement&gt; lstWeb = driver.findElements(By.xpath("//*");
  driver.findElement(By.id("ImprBtn"));
  List&lt;WebElement&gt; lstWebAfter = driver.findElements(By.xpath("//*");
  lstWebAfter.removeAll(lstWeb );
  </code></pre>
  
  <p>The problem is that it's taking a long time, because in each list I have more than 800 WebElements.</p>
  
  <p>There is an efficient way to identify changes in DOM after I click on element? </p>