# \[5.4\] waitForElementPresent() always returns true

**URL:** <https://forum.katalon.com/t/5-4-waitforelementpresent-always-returns-true/10415>\
**Category:** Bug Report\
**Tags:** katalon-studio, bugs-report\
**Created:** [April 19, 2018, 9:37pm UTC](https://forum.katalon.com/t/5-4-waitforelementpresent-always-returns-true/10415 "2018-04-19T21:37:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caleb\_Wood](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/caleb_wood/32/4749_2.png) [@Caleb\_Wood](https://forum.katalon.com/u/Caleb_Wood)\
**Post date:** [April 19, 2018, 9:37pm UTC](https://forum.katalon.com/t/5-4-waitforelementpresent-always-returns-true/10415/1 "2018-04-19T21:37:14Z")

</div>

In Katalon 5.4 the function waitForElementPresent() is returning true even with the object never existed in the UI. This specific situation is happening with Test Objects that have parameters. We have a lot of Test Objects with parameters, but this works fine in 5.3.1 and earlier. Instead of returning false, Katalon 5.4 returns: “Found web element with id: ‘Object Repository/xxx/btn\_ModifyContact’ from cache”. This is breaking many of our tests.

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [April 20, 2018, 2:39am UTC](https://forum.katalon.com/t/5-4-waitforelementpresent-always-returns-true/10415/2 "2018-04-20T02:39:03Z")

</div>

We will release 5.4.1 version about Monday next to cover this. Thanks for your reporting

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [November 2, 2019, 4:42am UTC](https://forum.katalon.com/t/5-4-waitforelementpresent-always-returns-true/10415/3 "2019-11-02T04:42:59Z")

</div>

Closed on November 2, 2019, 4:42am UTC


