# Verify image present accuracy

**URL:** <https://forum.katalon.com/t/verify-image-present-accuracy/67129>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [July 20, 2022, 12:18pm UTC](https://forum.katalon.com/t/verify-image-present-accuracy/67129 "2022-07-20T12:18:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [July 20, 2022, 2:08pm UTC](https://forum.katalon.com/t/verify-image-present-accuracy/67129/2 "2022-07-20T14:08:49Z")

</div>

Thanks, @edward.davies , I wasn’t aware of this problem.

@duyluong @nam.nguyen @vu.tran

If my understanding is correct, `verifyImagePresent()` is a (yet another) poorly named API.

1. In all other cases, “verifying presence” is about checking for an element’s presence in the DOM – nothing at all to do with the content of the element. Yet…

2. The documentation for `WebUI.verifyImagePresent()` requires the tester to provide a source image for comparison purposes, which has nothing at all to do with an element’s presence in the DOM.

> **[\[WebUI\] Verify Image Present | Katalon Docs](https://docs.katalon.com/docs/katalon-studio-enterprise/keywords/web-ui-keywords/webui-verify-image-present)**
>
> Description

Due to backwards compatibility and legacy code concerns, this can’t easily be fixed. What should happen is, two new APIs should be introduced, one specifically about presence in the DOM, and another that actually compares two images properly (since the current implementation is clearly broken). The existing API should be deprecated, since it’s both broken and doing the wrong thing.

@edward.davies sit tight. Let’s see what the devs say.

---

_[View the full topic](https://forum.katalon.com/t/verify-image-present-accuracy/67129)._
