lib/acouchi/solo.rb in acouchi-0.0.13 vs lib/acouchi/solo.rb in acouchi-0.0.14
- old
+ new
@@ -73,9 +73,19 @@
options[:match],
options[:auto_scroll]
])
end
+ def click_menu_item text, options={}
+ options = {
+ :sub_menu => true
+ }.merge(options)
+ call_method("clickOnMenuItem", [
+ text,
+ options[:sub_menu]
+ ])
+ end
+
def views
call_method("getViews")
end
def click_view id