# Can we get device notifications using AndroiDriver

**URL:** <https://discuss.appium.io/t/can-we-get-device-notifications-using-androidriver/5844>\
**Category:** Support\
**Created:** [September 3, 2015, 8:43am UTC](https://discuss.appium.io/t/can-we-get-device-notifications-using-androidriver/5844 "2015-09-03T08:43:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![passenger](https://discuss.appium.io/letter_avatar_proxy/v4/letter/p/a6a055/32.png) [@passenger](https://discuss.appium.io/u/passenger)\
**Post date:** [December 16, 2015, 5:49am UTC](https://discuss.appium.io/t/can-we-get-device-notifications-using-androidriver/5844/5 "2015-12-16T05:49:26Z")

</div>

Till the part to opening notification shade there isn’t any problem. But whenever I try to locate the notification of my app using the text `driver.findElement(By.xpath("//android.widget.TextView[@text='TitleText']"));` I am not able to click it because this textview is not clickable. Also, whenever I try to click or tap it appium crashes. `error: uncaughtException: Cannot read property 'sockets' of null date` Is there any solution for finding your notification item and click it?

---

_[View the full topic](https://discuss.appium.io/t/can-we-get-device-notifications-using-androidriver/5844)._
