Reference
execute
// simple instructions
gd.execute("tap on the login button")
// more abstract instructions
gd.execute("Navigate to the settings screen")
// complex instructions
gd.execute("Check that you see a list of hotel room options, if so tap on the cheapest room option")
// with cachingMode specified for this particular step
// cachingMode options: "FULL_SCREEN", "INTERACTION_REGION", "NONE"
gd.execute("Navigate to the Main screen", cachingMode = "FULL_SCREEN")
// with native composeHandler - if provided, composeHandler code will be executed first
// GptDriver will perform an AI fallback if the code fails
gd.execute("Navigate to home screen") { rule ->
rule.onNodeWithText("Go to Home screen").performClick()
}assert
assertBulk
checkBulk
extract
Last updated