Forum

Forum
Is it possible to t...
 
Notifications
Clear all

[Solved] Is it possible to test only a specific image instead of the whole page with Imagium

New Member Guest
Joined: 3 years ago
Posts: 1
Topic starter  

In the samples  I see only full page comparisons. Is it possible to test only a specific element instead of the whole page with Imagium?


   
Amrita Kaur
Member Admin
Joined: 4 years ago
Posts: 108
 

Yes, you can absolutely test a specific element from the webpage instead of the whole page. In fact Imagium does not pose any restriction.
All you need to do is following:

  • Get the screenshot of the specific image and convert it into base64 string (Using your preferred language and tool)
  • Use the base64 image in your payload and hit the validate API

Let us know if you still need any further information.