Commit Graph

72 Commits

Author SHA1 Message Date
Moiz Virani
c491bf24af Adding hideSoftKeyboard for android, updating package.json and updating appium-adb submodule 2014-06-09 12:35:16 -07:00
Jonathan Lipps
7b419650f1 Merge pull request #2435 from emakiej/support_chromium_context
Support for CHROMIUM context for embedded Chromium.
2014-06-05 16:35:56 -07:00
Ela Makiej
ec68a866a4 Support for CHROMIUM context for embedded Chromium.
Enables switching between NATIVE_APP and CHROMIUM contexts. Works for both backends: UIAutomator and Selendroid. It's intended to work for any Chromium
embedding app under the following conditions:
- user has to make sure the devtools socket is open
- user may need to provide a webdriver working with his app (probably deriving from chromedriver)
- user needs to use some additional capabilities: 'android-device-socket', 'chromedriver-executable' (optional), 'special-chromedriver-session-args' (optional)
2014-06-05 19:06:05 +02:00
Jonathan Lipps
8d4625125a Merge pull request #2748 from imurchie/isaac-notifications
Add support for opening notifications in Android
2014-06-04 09:27:03 -07:00
Isaac Murchie
21d8a72de9 Add support for opening notifications in Android 2014-06-04 08:14:03 -07:00
sebv
cdafd82509 Improving logging 2014-06-04 09:07:58 +08:00
Isaac Murchie
82ec88c2f4 Add error handling for invalid multi pointer gestures 2014-06-02 16:53:49 -07:00
Jonathan Lipps
399adf2b0c Merge pull request #2673 from paymand/long_press_keycode
Renamed keyevent to press_keycode and added long_press_keycode.
2014-05-28 12:30:04 -07:00
Payman Delshad
8b1ec9d92c Renamed keyevent to press_keycode and added long_press_keycode. 2014-05-28 21:28:41 +02:00
bootstraponline
3baa5f53dc Fix DumpWindowHierarchy NullPointerException 2014-05-23 16:26:26 -04:00
bootstraponline
f9266b5dfe Check exists before read file 2014-05-20 12:27:21 -04:00
Ruben Gonzalez Alonso
858b4a30e9 Add optional argument 'language' to getStrings in Android and Selendroid 2014-05-13 09:58:05 +02:00
bootstraponline
37b4b667f0 Always setCompressedLayoutHeirarchy 2014-05-12 15:14:31 -04:00
Jonathan Lipps
6ca3708869 Merge pull request #2491 from imurchie/isaac-gesture-issues
Fix defaults for swipe duration
2014-05-08 08:09:15 -07:00
bootstraponline
74a233b6e8 Fix compressXml
The old compressXml did not presist across uiautomator sessions.
By requesting 'DumpWindowHierarchyCompressed' it ensures the result is
always compressed, even if the server had been restarted.

For some reason if compressXml is disabled then the xpath index on Android
will return the wrong result.
2014-05-07 15:23:18 -04:00
Isaac Murchie
19d6b77f0e Fix defaults for swipe duration 2014-05-06 15:38:49 -07:00
Jonathan Lipps
8a5b698e28 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 12:09:17 -07:00
Ruben Gonzalez Alonso
6e326a29af Fix Appium crash when fails getting source page 2014-04-23 09:44:05 +02:00
Jonathan Lipps
9fd48fb9f8 get rid of native tag name in favor of class name 2014-04-18 11:31:49 -07:00
Isaac Murchie
ec28b95468 Allow android multi touch actions without an element 2014-04-14 11:04:25 -07:00
Isaac Murchie
8e89c749ef Fix bugs in action handling 2014-04-10 10:59:50 -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
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
958aac7e09 remove old xpath support and promote -real xpath to xpath 2014-04-09 16:15:54 -07:00
Jonathan Lipps
bbcfdb829c use dumpWindowHierarchy for xml page source as well since it's more reliable 2014-04-09 16:12:47 -07:00
Jonathan Lipps
6725332707 don't use windowHandles for switching to/from webview 2014-04-08 12:02:44 -07:00
Isaac Murchie
0df0d2b2dc Add touch and multitouch actions for Android 2014-04-07 12:13:16 -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
Isaac Murchie
016b8c6559 First pass at iOS touch for Appium 1.0 2014-03-31 14:00:44 -07:00
Isaac Murchie
2043324473 Fix setWindow for Android 2014-03-31 10:59:11 -07:00
Jonathan Lipps
ec563bd2b8 add real xpath support for android
- relies on xpath support for ios pull request
- adds support under the '-real xpath' locator strategy
- deprecates the original xpath strategy, which will be replaced in 1.0
- because we have no way to get a dom fragment starting from an element,
  this strategy will only work for root-level queries
2014-03-28 10:29:48 -07:00
Jonathan Lipps
ff0dcd4292 deprecate use of json page source 2014-03-28 10:29:48 -07:00
Jonathan Lipps
36fbeca8c1 update android xml source to have class names as node names rather than just 'node' 2014-03-28 10:29:48 -07:00
jonahss
878497d63f accessibility_id -> accessibility id 2014-03-27 15:05:17 -07:00
Jonathan Lipps
0b4554ce4e Merge pull request #2162 from bootstraponline/reset_from_cap
Enable fullReset and noReset from caps
2014-03-25 12:51:06 -07:00
bootstraponline
6995aa868f Set fullReset and noReset from caps 2014-03-25 15:47:36 -04:00
jonahss
273a008b95 add accessibility_id loc strat 2014-03-24 11:11:04 -07:00
Isaac Murchie
f4f730e1ee Use contexts for switching native/web 2014-03-19 21:13:47 -07:00
bootstraponline
b1f8021737 temp.path doesn't create the file 2014-03-19 14:21:38 -04: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
Payman Delshad
113fe5ce10 Added support for touch{Down|Up|Move} on Android. 2014-03-07 15:10:52 +01:00
Jonathan Lipps
b058732ebb port android basic config 2014-03-03 16:40:16 -08:00
Jonathan Lipps
f0193f3e26 Merge pull request #1970 from bootstraponline/source_fix
Fix Android page source
2014-02-27 13:20:26 -08:00
bootstraponline
cce7ee0126 Android longClick x, y, and duration support
Ruby examples:

mobile :longClick, element: el.ref

mobile :longClick, element: el.ref, duration: 3000

mobile :longClick, x: 400, y: 297, duration: 3000

mobile :longClick, x: 0.5, y: 0.244
2014-02-27 16:18:05 -05:00
bootstraponline
591c0dbc4e Fix Android page source 2014-02-27 10:19:50 -05:00
Jonathan Lipps
410aacc1e6 Merge pull request #1961 from paymand/scrollTo
Android: Added support for 'direction' to scrollTo.
2014-02-26 09:27:38 -08:00