-1

Apart from the built-in methods, how can I two different images using selenium Webdriver 2?

Image format is jpg. In about us WebPage we have multiple images. I want compare those images.

user3248532
  • 11
  • 1
  • 4
  • Are the images hosted somewhere? – bit Apr 15 '15 at 03:47
  • I think you can compare images name rather than images.. – Helping Hands Apr 15 '15 at 03:51
  • Please add more details like `image formats` -are both in same or different- and a bit about your mention of difference between to image -Dimension is important or not- and so on ;). – shA.t Apr 15 '15 at 03:51
  • Image format is jpg. In an application we have multiple images in about us Web page. I want compare those images. Thanks, In Advance – user3248532 Apr 15 '15 at 05:00
  • What do you want to compare? FileSize? Image size (width or height)? Or the content of the images? – peetya Apr 15 '15 at 10:42
  • I Want to compare the image pixel by pixel and also file size. – user3248532 Apr 15 '15 at 11:55
  • Which programming language? If java, then see these - http://stackoverflow.com/questions/21179019/how-to-compare-set-of-images-in-java-using-pixel-based-image-comparision-metric, http://stackoverflow.com/questions/8567905/how-to-compare-images-for-similarity-using-java – LittlePanda Apr 16 '15 at 09:36

1 Answers1

-1

You can include sikuli in your webdriver script and can match the images.