lib/rwda.rb in rwda-0.1.1 vs lib/rwda.rb in rwda-0.1.2

- old
+ new

@@ -64,10 +64,10 @@ def wait_element_display(element) request_route = @url+'/'+@session_id+'/element/'+element+'/displayed' wait_for_response(request_route, 'get', '', lambda { |val| return val.to_json.include? 'true' }) end - def open_app(device, bundle_id = 'com.rea-group.reapa.internal') + def open_app(device, bundle_id) app_body = {:desiredCapabilities => {:bundleId => bundle_id}} response = HTTParty.post(DEVICE_URL[device], :body => app_body.to_json) @url = DEVICE_URL[device] @session_id = response['sessionId'] end \ No newline at end of file