Skip to content

Commit

Permalink
Fix documentation (KasperskyLab#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmiAde authored Jun 16, 2021
1 parent 80a02cd commit 96d16a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wiki/02_Wrapper_over_UiAutomator.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ If you are using [Page Object pattern](https://martinfowler.com/bliki/PageObject
`UiScreen` contains `UiView`, these are the Android Framework views where you want to do the interactions:
```Kotlin
class FormScreen : UiScreen<FormScreen>() {
val phone = UiView { withId(this@FormScreen.packageName, "phone" }
val email = UiEditText { withId(this@FormScreen.packageName, "email_edit" }
val submit = UiButton { withId(this@FormScreen.packageName, "submit_button" }
val phone = UiView { withId(this@FormScreen.packageName, "phone") }
val email = UiEditText { withId(this@FormScreen.packageName, "email_edit") }
val submit = UiButton { withId(this@FormScreen.packageName, "submit_button") }
}
```
Kautomator provides different types depending on the type of view:
Expand Down

0 comments on commit 96d16a9

Please sign in to comment.