117 Commits
Author SHA1 Message Date
Jonathan Lipps 4cd36c8d6a ensure that the logger is initialized with correct args before using it (fix #2308) 2014-04-10 18:46:17 -07:00
Jonathan Lipps 959cb6d113 loosen up sudo check so it allows various forms of authorize 2014-04-10 16:22:11 -07:00
Jonathan Lipps f74dbb78d7 Merge pull request #2315 from imurchie/isaac-action-fixes
Fix bugs in action handling
2014-04-10 10:50:07 -07:00
Isaac Murchie 3b71532826 Fix bugs in action handling 2014-04-10 13:36:50 -04:00
Jonathan Lipps 008df08fba Merge pull request #2293 from snevesbarros/fix_for_install_launch_remove_requests
Added 2 fixes for when using the installApp, launchApp, removeApp requests seperately
2014-04-10 09:51:02 -07:00
Sergio Neves Barros 808e94f1da 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 17:40:00 +01:00
Jonathan Lipps d566b7583f fix selendroid command timeout bug and fix test that proves it work 2014-04-09 13:13:08 -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
Jonathan Lipps f14c5c9108 use adb's built-in isAppInstalled rather than one that doesn't work 2014-03-17 15:10:58 -07:00
bootstraponline 6494df98d6 Android mobile push & pull
Ruby examples:

mobile :pushFile, data: Base64.encode64('test ruby'), path: '/data/local/tmp/test.txt'

pull_result = mobile :pullFile, path: '/data/local/tmp/test.txt'
Base64.decode64 pull_result
2014-03-14 15:09:13 -04:00
Jonathan Lipps ec46e59c28 Merge pull request #2048 from bootstraponline/ios_mercy
Default to mercy on iOS
2014-03-12 10:01:39 -07:00
bootstraponline 19b8fc4b10 Default to mercy on iOS 2014-03-12 12:50:58 -04:00
sebv 6bfb2729a5 Making sure cwd is appium install dir 2014-03-12 10:56:31 +08:00
Jonathan Lipps 50d03d6b08 store --command-timeout as int 2014-03-07 14:30:00 -08:00
Jonathan Lipps e7a72e5921 add --command-timeout server arg
so the server can set its own default timeout.
also, clean up some of the command timeout logic
2014-03-07 13:57:41 -08:00
Jonathan Lipps 77c20b05d5 show extra server params in logs for easier debugging 2014-03-07 10:41:06 -08:00
Payman Delshad 113fe5ce10 Added support for touch{Down|Up|Move} on Android. 2014-03-07 15:10:52 +01:00
Jonathan Lipps 42780f2655 port chrome config 2014-03-03 16:40:16 -08:00
Jonathan Lipps b058732ebb port android basic config 2014-03-03 16:40:16 -08:00
Jonathan Lipps d097c94c90 Merge pull request #1973 from pavelsmolensky/keepKeyChains
Add option --keep-keychains to save Library/Keychains between appium session restarts
2014-03-03 13:37:08 -08:00
Pavel Smolensky f30631d784 iOS. Add --keep-keychains option and desired capability keepKeyChains 2014-03-03 18:01:13 +03:00