title: compare two images using Selenium Ruby Webdriver
body: <p>Please help give me a solution to compare if two images in two URLs of an Web application are identical (I mean that content in each image are identical) or not by using Selenium Ruby Webdriver.</p>
  
  <p>ex: I have a small image displayed when accessing the URL below:</p>
  
  <pre><code> http://testing.com/image1.png
  </code></pre>
  
  <p>I also have another image when accessing the URL below:</p>
  
  <pre><code> http://testing.com/image2.png
  </code></pre>
  
  <p>How can I compare these two images to see if they are identical using Selenium Ruby Webdriver ? Any suggestion is appreciated. Thanks much.</p>