# How to click an overlay popup in android using Appium when the mobile locators are not detected by Uiautomator Viewer

**URL:** <https://discuss.appium.io/t/how-to-click-an-overlay-popup-in-android-using-appium-when-the-mobile-locators-are-not-detected-by-uiautomator-viewer/32998>\
**Category:** Support\
**Created:** [February 9, 2021, 3:21pm UTC](https://discuss.appium.io/t/how-to-click-an-overlay-popup-in-android-using-appium-when-the-mobile-locators-are-not-detected-by-uiautomator-viewer/32998 "2021-02-09T15:21:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yshu\_ganapathi](https://discuss.appium.io/user_avatar/discuss.appium.io/yshu_ganapathi/32/8566_2.png) [@Yshu\_ganapathi](https://discuss.appium.io/u/Yshu_ganapathi)\
**Post date:** [February 9, 2021, 3:21pm UTC](https://discuss.appium.io/t/how-to-click-an-overlay-popup-in-android-using-appium-when-the-mobile-locators-are-not-detected-by-uiautomator-viewer/32998/1 "2021-02-09T15:21:00Z")

</div>

We have a notification overlay in our application. Which is displayed at the top of the screen. I tried with UI automaton and appium desktop inspector. The mobile element locators for the overlay is not detected.  
 ![layout](https://discuss.appium.io/uploads/default/original/2X/2/251c8c5ac33b3eac846b659f1b3a78603125b050.jpeg)

---

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [February 9, 2021, 9:09pm UTC](https://discuss.appium.io/t/how-to-click-an-overlay-popup-in-android-using-appium-when-the-mobile-locators-are-not-detected-by-uiautomator-viewer/32998/2 "2021-02-09T21:09:58Z")

</div>

check -\>

> **[appium/appium-uiautomator2-driver](https://github.com/appium/appium-uiautomator2-driver#settings-api)**
>
> Appium driver for Android UIAutomator2. Contribute to appium/appium-uiautomator2-driver development by creating an account on GitHub.

and try enable ‘enableMultiWindows’

---

<div class="post-metadata">

**Author:** ![AzmeenBakkar](https://discuss.appium.io/user_avatar/discuss.appium.io/azmeenbakkar/32/9544_2.png) [@AzmeenBakkar](https://discuss.appium.io/u/AzmeenBakkar)\
**Post date:** [January 4, 2022, 10:46am UTC](https://discuss.appium.io/t/how-to-click-an-overlay-popup-in-android-using-appium-when-the-mobile-locators-are-not-detected-by-uiautomator-viewer/32998/3 "2022-01-04T10:46:06Z")

</div>

I am unable to access overlay elements in appium inspector for Android.  
@Aleksei @NagarajL

---

<div class="post-metadata">

**Author:** ![Yaomian\_Huang](https://discuss.appium.io/user_avatar/discuss.appium.io/yaomian_huang/32/9609_2.png) [@Yaomian\_Huang](https://discuss.appium.io/u/Yaomian_Huang)\
**Post date:** [January 10, 2022, 9:02am UTC](https://discuss.appium.io/t/how-to-click-an-overlay-popup-in-android-using-appium-when-the-mobile-locators-are-not-detected-by-uiautomator-viewer/32998/4 "2022-01-10T09:02:03Z")

</div>

Please let me know when you find a solution.
