0

I am trying to compare screens using selenium web driver java. Is there any API to compare? Able to capture and save images.

Harika Mamidi
  • 452
  • 4
  • 20
  • With ``getScreenshotAs`` you can capture and save a screenshot. By comparing you mean programmaticaly? If so, this [question](http://stackoverflow.com/questions/8644960/java-library-to-compare-image-similarity) might help – Ignacio Contreras Pinilla Nov 06 '12 at 10:26

2 Answers2

0

There is no API in selenium to compare screenshots.

Ardesco
  • 7,281
  • 26
  • 49
0

You can use OpenCV there's some functionalities who allow you to compare image.

Have a nice day

Frédéric Nell
  • 131
  • 1
  • 1
  • 14