It's not the prettiest, but you can store images of what you expect. Then use the selenium screenshot utility to capture a new image and then compare the two images for an exact match. The difficulty there is you need to store the images exactly how selenium takes them as there are limited options with the screenshots. It won't scale as well as Sikuli that will just look for the image anywhere in existence, this would lock to the exact same behavior.
Here is a good reference for beginning screenshot usage:
a few tips:
- I found dynamic screenshots to be a bit tricky and tempermental as they snap before the page actually loads...I'd recommend putting a wait for the last object you are aware of that loads and then snap the screenshot.
- It also includes object snapping as well as full page...you would just have to find the object first or have specific coordinates.
- Please be mindful that you are using graphics which is bound to the graphics card and screen resolution, so in this case they need to match or the image recognition won't work this way either.
- Lastly the type of image is important, you need to ensure every aspect is identical otherwise it won't match.
As you can see this is why Sikuli is so awesome and if you need that adaptability I'd recommend actually integrating sikuli with your test through command line calls that kick off the Sikuli test. Up to you, if you hit more specific situations post more specific questions. Good Luck!