Skip to content

Commit

Permalink
docs: address the possibility of uia2 in jetpack compose (#852)
Browse files Browse the repository at this point in the history
* docs: address the possibility of uia2 in jetpack compose

* Update README.md
  • Loading branch information
KazuCocoa authored Jan 27, 2023
1 parent 680e592 commit 3fc42f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ driver | 'compose' or 'espresso' | The name of the subdriver to use for elements

[Jetpack Compose](https://developer.android.com/jetpack/compose) is Android’s modern toolkit for building native UI. Espresso driver supports basic interactions with Compose-based applications since version *1.46.0*.

[Appium UiAutomator2 driver](https://github.com/appium/appium-uiautomator2-driver/) allows to interact with Jetpack Compose elements via the accessibility layer by providing [testTag](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.Modifier).testTag(kotlin.String)) modifier attribute or the displayed text, but this Espresso driver allows you to access Jetpack Compose elements directly.


### Interaction With Compose Elements

Espresso driver has the concept of subdrivers. This works quite similarly to the concept of contexts, while contexts are used to switch between native and web, and subdrivers are still
Expand Down

0 comments on commit 3fc42f1

Please sign in to comment.