How can I click on an element with Kotlin?
Hello Alex,
To click on an element with Kotlin, you can add click()
as shown on the sample code below:
val color: MobileElement =
app.findElement(MobileBy.id("com.lambdatest.proverbial:id/color")) as MobileElement
color.click()