# Is there a mobile.waitForElementNotPresent?

**URL:** <https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [June 29, 2020, 2:39pm UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055 "2020-06-29T14:39:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario.tester](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@mario.tester](https://forum.katalon.com/u/mario.tester)\
**Post date:** [June 29, 2020, 2:39pm UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055/1 "2020-06-29T14:39:24Z")

</div>

To refresh data in my app there is a loading symbol and after its gone data is refreshed. Depending on network it takes between 5 and 30s, so I would like to use a kind of:

Mobile. _waitForElementNotPresent_ ( _findTestObject_ (‘xzy’), 60)

But there is no waitForElementNotPresent for mobile. Only a waitForElementPresent but I need the opposite.

For now Im using Mobile.delay(30) but yeah it would speed up things - thanks in advance!

---

<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:** [June 30, 2020, 7:24pm UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055/2 "2020-06-30T19:24:00Z")

</div>

@mario.tester Interesting hole you found. @ThanhTo is this an oversight?

@mario.tester you could try looping over `Mobile.waitForElementPresent()` until it fails with Failure Handling set to `OPTIONAL` - but that’s a pretty ugly workaround.

Aside: @ThanhTo the example **[here](https://docs.katalon.com/katalon-studio/docs/mobile-wait-for-element-present.html)** uses the wrong API.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [July 1, 2020, 3:51am UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055/3 "2020-07-01T03:51:24Z")

</div>



---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [July 1, 2020, 4:08am UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055/4 "2020-07-01T04:08:38Z")

</div>

@Russ_Thomas

Thanks we’re gonna fix the docs. Currently the mobile API is lacking some keywords compared to Web, we’re gonna be working on that !

---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [July 1, 2020, 8:56am UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055/5 "2020-07-01T08:56:47Z")

</div>



---

<div class="post-metadata">

**Author:** ![nam.nguyen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nam.nguyen/32/18640_2.png) [@nam.nguyen](https://forum.katalon.com/u/nam.nguyen)\
**Post date:** [August 19, 2021, 4:35am UTC](https://forum.katalon.com/t/is-there-a-mobile-waitforelementnotpresent/45055/6 "2021-08-19T04:35:35Z")

</div>

Hi all,

This keyword is in version 8.1.0. Please see the [Release note](https://docs.katalon.com/katalon-studio/new/version-8x.html#official-release---version-810) for more details.

Thank you for your attention!

Nam Nguyen.
