user3610830
user3610830

Reputation: 41

Simulate long click on calabash-android

I have problem with simule long press click on android. I don't use pre-definied steps, but I need use command from ruby console. Can You help me?

Upvotes: 1

Views: 236

Answers (1)

Aravin
Aravin

Reputation: 7077

you can use this

Keypress with validation - long_press_when_element_exists(query_string, options = {})

or

Keypress only long_press(query_string, options = {})

Upvotes: 2

Related Questions