Commit Graph

130 Commits

Author SHA1 Message Date
Payman Delshad 4c18b4dfd6 Set log level to 'debug' for logging to file. 2014-04-14 11:10:25 -07:00
Isaac Murchie e0b1cadd00 Decode swipe action to native method 2014-04-14 11:04:48 -07:00
Jonathan Lipps f0dea5f3b5 remove deprecated --merciful and --device-port flags
add --force-quit-instruments flag instead
and fix grunt docs to add the jekyll preamble and write to the correct path
2014-04-11 10:05:30 -07:00
Jonathan Lipps d54852ddb9 ensure that the logger is initialized with correct args before using it (fix #2308) 2014-04-10 18:46:43 -07:00
Jonathan Lipps 8cab32a724 Merge pull request #2321 from jlipps/jlipps-1.0-beta
remove deprecated caps
2014-04-10 16:24:15 -07:00
Jonathan Lipps 9cb4e207d5 loosen up sudo check so it allows various forms of authorize 2014-04-10 16:23:25 -07:00
Jonathan Lipps e5e30a8cd4 get rid of old device and version caps 2014-04-10 15:01:11 -07:00
Jonathan Lipps 50c3dbd7fd remove 'mobile: findAndAct' 2014-04-10 14:09:57 -07:00
Isaac Murchie 8e89c749ef Fix bugs in action handling 2014-04-10 10:59:50 -07:00
Sergio Neves Barros 8292b71387 Updated the app argument for the installApp, launchApp and closeApp to point to the device rather than appium. Also added a check for the "installToRealDevice" function to check if "launch" desired capability has not been set to false (as in that instance we want to manage installation and launching ourselves).
Changed the launch parameter to autoLaunch (including a check for launch desired capability and deprecation warning).
2014-04-10 10:00:01 -07:00
Jonathan Lipps b78c8ddfe9 remove 'mobile: getCommandTimeout' 2014-04-09 18:45:25 -07:00
Jonathan Lipps 0312620d09 remove 'mobile: localScreenshot' 2014-04-09 18:43:02 -07:00
Jonathan Lipps f1ab0c7a73 remove 'mobile: findElementNameContains' 2014-04-09 18:41:02 -07:00
Jonathan Lipps 2871411d90 remove 'mobile: waitForPageLoad' 2014-04-09 18:40:03 -07:00
Jonathan Lipps afe4674f4a remove 'mobile: fireEvent' 2014-04-09 18:38:23 -07:00
Jonathan Lipps b0fdf70de2 get rid of 'mobile: location' 2014-04-09 18:36:07 -07:00
Jonathan Lipps e2c6a9919b remove json page source in favor of xml
and fix a bug in android bootstrap's xpath that snuck in last time
2014-04-09 18:07:02 -07:00
Jonathan Lipps 37b3d8b6e4 fix selendroid command timeout bug and fix test that proves it work 2014-04-09 13:34:00 -07:00
Jonathan Lipps f8a26b6f3d Bring 0.18.x changes into 1.0 branch 2014-04-09 10:57:07 -07:00
Jonathan Lipps 6725332707 don't use windowHandles for switching to/from webview 2014-04-08 12:02:44 -07:00
Payman Delshad ae54ebe297 Fix the broken -g/--log and --log-no-colors. 2014-04-08 19:04:57 +02:00
Jonathan Lipps 463e692c7b Merge pull request #2270 from imurchie/isaac-touch
Add touch and multitouch actions for Android
2014-04-07 14:19:00 -07:00
Isaac Murchie 0df0d2b2dc Add touch and multitouch actions for Android 2014-04-07 12:13:16 -07:00
Jonathan Lipps 52fc91bf98 these methods take complex body parameters, so make them posts 2014-04-07 09:40:53 -07:00
Jonathan Lipps 3ae838a884 ensure we can use appium 1.0 style launch information from the command line (fix #2231) 2014-04-04 12:21:43 -07:00
Jonathan Lipps 5ceb9bbb1b finish off routing for #2226 2014-04-04 11:58:46 -07:00
Jonathan Lipps 0b2bd7b276 Merge pull request #2246 from jlipps/new-endpoints
deprecate soon-to-be-removed mobile: methods
2014-04-02 13:33:54 -07:00
Jonathan Lipps 28f966e9a1 deprecate soon-to-be-removed mobile: methods 2014-04-02 13:32:22 -07:00
Jonathan Lipps 477c7f14dd Merge pull request #2245 from jlipps/new-endpoints
add rest endpoints to handle mobile: methods
2014-04-02 12:48:38 -07:00
Jonathan Lipps bf4dcae4f1 add rest endpoints to handle mobile: methods in addition to executeScript 2014-04-02 12:15:34 -07:00
Jonathan Lipps 17bef33b01 Merge pull request #2224 from imurchie/isaac-touch
First pass at iOS touch for Appium 1.0
2014-04-01 18:09:35 -07:00
Dylan Lacey 148336fc04 Use the new capabilities throughout the codebase.
Every entry in `Capabilities.capabilityConversions` is now used to
convert capabilities into the args array.

Change version to versionVersion.
Change device to platformName
Stop aliasing platformVersion to version in Capabilities.js
2014-04-01 16:42:28 -07:00
Isaac Murchie 016b8c6559 First pass at iOS touch for Appium 1.0 2014-03-31 14:00:44 -07:00
Linzhen Xuan 148e5f3ba3 Modify scroll to take element argument.
Originally, scroll scrolls insider the first ScrollView. However, most of our ScrollViews is CollectionView, or TableView. So, we got error that the ScrollView could not found, although there are multiple "ScrollViews".

We also need to able to scroll insider different scrollviews.
2014-03-28 17:47:55 -04:00
dolf 28c5fd51c3 Move reset timeout from global before to session before 2014-03-27 15:38:04 +04:00
Jonathan Lipps 01395f1391 Merge pull request #2164 from sebv/log-colors
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-25 12:21:38 -07:00
Dylan Lacey 0cbdb9b2d4 Log a deprecation message when mobileSource is called with the JSON
type, asking users to use XML type instead.
2014-03-25 03:18:46 -07:00
sebv 34816eaa70 Avoiding passing LogNoColors/LogColors everywhere. 2014-03-25 11:34:34 +08:00
bootstraponline 02155f137a Merge pull request #2144 from jlipps/master
fix sudo behavior for windows (fix #2137)
2014-03-24 13:55:10 -04:00
Jonathan Lipps f44f586467 Merge pull request #2128 from midopa/master
fix, if appium url set in nodeconfig, dont autopopulate
2014-03-24 10:42:40 -07:00
Jonathan Lipps 9450e18c5a fix sudo behavior for windows (fix #2137) 2014-03-24 10:37:15 -07:00
sebv 1fb38b556a fixing sudo grunt authorize 2014-03-23 16:42:12 +08:00
sampar dd60171b20 fix, if appium url set in nodeconfig, dont autopopulate
otherwise, the autopopulation will set the host to localhost/127.0.0.1, which
wont' work if the node and grid are not on the same machine
2014-03-22 11:56:39 -07:00
Jonathan Lipps 6d2183cd9f also disallow use of appium if it was even installed with sudo 2014-03-21 16:08:42 -07:00
Jonathan Lipps f10e919597 make sure appium won't run under sudo. Too many people run into problems with that 2014-03-21 14:55:48 -07:00
Jonathan Lipps fd24d65ffe make sure caps are sanitized (fix #2103) 2014-03-20 16:58:03 -07:00
Jonathan Lipps d0456ff938 Merge pull request #2099 from rgonalo/master
Allow to have more than one emulator started
2014-03-20 16:20:05 -07:00
Isaac Murchie f4f730e1ee Use contexts for switching native/web 2014-03-19 21:13:47 -07:00
Ruben Gonzalez Alonso b805773310 Add --avd-args option to launch avd with additional args 2014-03-19 18:41:20 +01:00
Dylan Lacey 21c8feb8e5 Add new device and automation capabilities, deprecate old caps
Added deprecation warning for older style caps.  Warnings are output
once only for a given function or capability.  A final trailing log
message is released saying there were deprecations.

Busted unit tests into smaller tests

Capabilities are now an object, created by passing the capabilities
to Capabilities.  Properties on that object are copied into the Capabilities object so the API is identical.

Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00