# Appium Espresso Driver with Jetpack Compose

**URL:** <https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796>\
**Category:** Support\
**Created:** [October 18, 2021, 1:54pm UTC](https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796 "2021-10-18T13:54:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Kaiser](https://discuss.appium.io/user_avatar/discuss.appium.io/alexander_kaiser/32/9318_2.png) [@Alexander\_Kaiser](https://discuss.appium.io/u/Alexander_Kaiser)\
**Post date:** [October 18, 2021, 1:54pm UTC](https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796/1 "2021-10-18T13:54:41Z")

</div>

Hello Community,

I’m trying to use the appium-espresso-driver rewrite our native espresso-tests with Appium.  
But I’m struggling with locating elements, though.

I have the following action in Kotlin which I would like to implement with Appium:

```
        composeTestRule.onNodeWithTag("onboarding/next")
           .assertIsDisplayed()
           .assertHasClickAction()
           .performClick()

```

Does anyone have an idea how this action would look like with appium java-client?  
I was already able to start the app and an instrumented espresso-server with with the following capability:

```
capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, AutomationName.ESPRESSO);

```

When I try to locate the element, however, I receive an androidx.test.espresso.NoMatchingViewException

I’m very thankful for any support.

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [October 18, 2021, 3:09pm UTC](https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796/2 "2021-10-18T15:09:52Z")

</div>

Currently [sravanmedarapu](https://github.com/appium/appium-espresso-driver/commits?author=sravanmedarapu) and [rajdeepv](https://github.com/appium/appium-espresso-driver/commits?author=rajdeepv) are working on the topic. It’s still in progress, but it is already possible to try something out of it in appium@beta.  
Check

- [https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-componse-element-values-e2e-specs.js](https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-componse-element-values-e2e-specs.js)
- [https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-compose-attributes-e2e-specs.js](https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-compose-attributes-e2e-specs.js)
- [https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-compose-e2e-specs.js](https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-compose-e2e-specs.js)
- [https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-compose-source-e2e-specs.js](https://github.com/appium/appium-espresso-driver/blob/master/test/functional/commands/jetpack-compose-source-e2e-specs.js)

for more examples

---

<div class="post-metadata">

**Author:** ![Alexander\_Kaiser](https://discuss.appium.io/user_avatar/discuss.appium.io/alexander_kaiser/32/9318_2.png) [@Alexander\_Kaiser](https://discuss.appium.io/u/Alexander_Kaiser)\
**Post date:** [October 19, 2021, 1:23pm UTC](https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796/3 "2021-10-19T13:23:24Z")

</div>

@mykola-mokhnach thank you for the links. Indeed, very valuable sources. I’ll give a try and follow the development with great interest.

And very special word of thanks goes to @Sravanmedarapu and @rajdeepv for your efforts.

---

<div class="post-metadata">

**Author:** ![mikalaikarol](https://discuss.appium.io/user_avatar/discuss.appium.io/mikalaikarol/32/7122_2.png) [@mikalaikarol](https://discuss.appium.io/u/mikalaikarol)\
**Post date:** [November 4, 2021, 3:44pm UTC](https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796/4 "2021-11-04T15:44:15Z")

</div>

Thanks for the links, really looking forward for this implementation @Sravanmedarapu @Rajdeepv🚀

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [December 9, 2021, 7:08am UTC](https://discuss.appium.io/t/appium-espresso-driver-with-jetpack-compose/34796/5 "2021-12-09T07:08:18Z")

</div>

I have recently updated Espresso driver README and added more details about Compose mode usage: [https://github.com/appium/appium-espresso-driver](https://github.com/appium/appium-espresso-driver)
