Method: Calabash::Android::Operations::Device#clear_app_data
- Defined in:
- lib/calabash-android/operations.rb
#clear_app_data ⇒ Object
571 572 573 574 |
# File 'lib/calabash-android/operations.rb', line 571 def clear_app_data cmd = "#{adb_command} shell am instrument #{package_name(@test_server_path)}/sh.calaba.instrumentationbackend.ClearAppData" raise "Could not clear data" unless system(cmd) end |