Commit Graph

101 Commits

Author SHA1 Message Date
Jonathan Lipps 478b7910bf better error handling if device never starts 2013-02-28 15:20:25 -08:00
Jonathan Lipps 4705ac1dba enable full flow of selenium command to device and back 2013-02-27 17:50:46 -08:00
Jonathan Lipps b8c28129c7 make implicit wait do what it should 2013-02-21 17:48:52 -08:00
Jonathan Lipps ebda1b29c8 separating concerns a bit here for reset app 2013-02-20 15:36:32 -08:00
bootstraponline 7f2a27e8cc mobile: reset 2013-02-20 17:27:17 -05:00
bootstraponline 57015e52f8 Fix undefined issues
TypeError: Cannot read property 'name' of undefined
TypeError: Cannot read property 'code' of undefined
2013-02-20 13:08:20 -05:00
bootstraponline 0412eae8f8 Fix style 2013-02-14 13:12:27 -05:00
Gaige B Paulsen ba033c349c Add support for setValueImmediate
This new mobile: command restores the ability to manually set the value
of all objects, including UITextField using the direct setValue() JS in
UIAutomation.

By default, POST /value will generate keypress events in a UITextView,
as is in line with the webdriver specification.  With this additon, you
can now use the 'old' appium method of setting directly with setValue
by using:
   mobile:setvalue  [{ element: elementID, value: value }]
2013-02-14 10:44:25 -05:00
Jonathan Lipps 388baad37e add mobile: hideKeyboard method for hiding keyboard based on key name 2013-02-13 18:46:04 -08:00
Jonathan Lipps 8a0c51b449 add global error handling for appium controller methods 2013-02-12 14:22:41 -08:00
Jonathan Lipps 31f14c81eb allow getting screen size through selenium /window/size 2013-02-12 11:52:11 -08:00
Jonathan Lipps d3b39fb919 better logging from appium about request and response data 2013-02-11 16:23:07 -08:00
Jonathan Lipps 65a40b3923 better logging 2013-02-11 14:48:58 -08:00
Jonathan Lipps b529cda1f9 add appium jsonwp extensions to routing 2013-02-08 11:17:12 -08:00
Jonathan Lipps 2e70f1690e rename elementId to element to match JSONWP 2013-02-08 10:22:22 -08:00
Jonathan Lipps 5626836432 add mobile-specific swipe and swipe-element methods and tests 2013-02-07 20:48:40 -08:00
Jonathan Lipps 09b356b336 provide access through mobile methods to native flick behavior 2013-02-06 18:59:59 -08:00
Jonathan Lipps 86557f7b6b make complexTap work as expected, with tests too 2013-02-06 15:55:29 -08:00
Jonathan Lipps 85beae87bf move to a hash-based parameter list for mobile commands 2013-02-06 14:49:53 -08:00
Jonathan Lipps 68b54868c1 add special mobile function for setting command timeout 2013-02-06 14:40:39 -08:00
Jonathan Lipps 98f342521d john carmack would not approve of all of this useless whitespace 2013-02-06 14:15:39 -08:00
Jonathan Lipps 623edea6f4 add framework for supporting non-selenium commands, and add complex tap action as an example 2013-02-05 15:21:39 -08:00
Jonathan Lipps 0266280968 add nav to url function for web view 2013-02-04 18:03:27 -08:00
Santiago Suarez Ordoñez 79053220b2 adding support for GET title on web view 2013-02-04 15:24:28 -08:00
Santiago Suarez Ordoñez b69cbe328f Wrapping up execute script with jlipps 2013-02-04 12:38:04 -08:00
Santiago Suarez Ordoñez 126b08e75b Starting work on execute script with jlipps 2013-02-04 11:09:16 -08:00
Jonathan Lipps 411f01a8d9 getting routing/controller/device hooked up to remote debugger via JSONWP 2013-02-01 18:08:25 -08:00
Sebastian Tiedtke 8eda196c14 Another flick fix to deal with the value of zero. 2013-01-30 18:20:56 -08:00
Jonathan Lipps a2b9049edc be more accepting in cases we take for flick 2013-01-30 17:23:17 -08:00
Jonathan Lipps cf1e2b75fe fix flick parameter issues and institute standard missing param response 2013-01-30 16:42:25 -08:00
Jonathan Lipps f4521f8c43 Merge pull request #79 from bernii/master
Adding getPageIndex to make UIAPageIndicator work
2013-01-30 16:09:03 -08:00
Jonathan Lipps b4244476c8 fix to allow flickElement to be called via same url as flick 2013-01-30 16:06:04 -08:00
berni f7cc5b0c82 adding getPageIndex to make UIAPageIndicator work 2013-01-31 00:20:01 +01:00
Sebastian Tiedtke ab9dfee3bc Fixed flick (non-element bound). 2013-01-30 01:48:05 -08:00
Sebastian Tiedtke 1dbf70d667 Made java client bindings' quit happy. 2013-01-30 00:06:35 -08:00
Jonathan Lipps b20d9dcffc be smarter about what cases might occur here 2013-01-29 22:30:54 -08:00
Jonathan Lipps 019ecb7e82 allow pre-launched app to be the first session 2013-01-29 21:17:40 -08:00
Jonathan Lipps 4089db9c35 also handle case where an Error object is passed into handler 2013-01-29 12:40:35 -08:00
Jonathan Lipps 83f8bf4594 standardize ways of generating appium responses to conform to jsonwp 2013-01-29 12:26:10 -08:00
Jonathan Lipps ed439804e8 tests of 500 server error behavior 2013-01-29 09:27:43 -08:00
Jonathan Lipps 0336dd1ce8 send 500s on internal errors to conform with JSONWP 2013-01-29 08:57:07 -08:00
Jonathan Lipps d5188829e4 follow JSONWP in allowing not implemented methods and responding with 501 2013-01-29 08:20:34 -08:00
Jonathan Lipps 86acd2d7b0 starting on on some jsonwp compatibility fixes and tests 2013-01-29 07:53:13 -08:00
Santiago Suarez Ordoñez 797d42b542 sending location through Location header, like http says 2013-01-28 19:36:44 -08:00
Jonathan Lipps 81b0cdf9cd updates to correspond to JSONWP 2013-01-28 18:55:59 -08:00
Jonathan Lipps 50af1ab0bc fail gracefully if someone sends in a bad http request 2013-01-28 11:48:48 -08:00
Jonathan Lipps 54145f4dc3 allow loading of app by path or url from desired capabilities
also a lot of stability improvements and error handling
2013-01-25 09:06:54 -08:00
berni 96a3dc5aa8 flick element - work with sliders etc. 2013-01-24 12:52:14 +01:00
admc 8303f50c28 Merge pull request #40 from jlipps/master
make appium+instruments connection more robust
2013-01-23 17:05:50 -08:00
Jonathan Lipps c54b059d45 move session management into controllers where it belongs 2013-01-23 16:57:05 -08:00