Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class ScreenRobot {
fun enterTextIntoView(@IdRes viewId: Int, text: String): T {
return this as T
class LoginRobot: ScreenRobot() {
fun inputPassword(pass: String): LoginRobot {
return enterTextIntoView(LOGIN_PASSWORD, pass)
companion object {
private val LOGIN_PASSWORD =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.