Commit Graph
102 Commits
Author SHA1 Message Date
Robert S. Jones f5a04fdcc0 Handle node-idevice callback parameter types for isInstalled.
This handles #4915.

Node package `node-idevice` has a method on the `IDevice` class
that checks to see if a given app is installed: `isInstalled`.
This method passes a boolean value as the second argument in the
callback function, but `isAppInstalled` expects an array.

The array support appears to be necessary for some other opaque
types so it cannot be removed.  Instead, we check the type of the
second parameter.  If it's `boolean` and `true` then we execute
the positive portion of the if block.
2015-04-15 10:39:57 -07:00
Simon Boudrias 28c7102ccd Add window/:windowhandle/maximize route as noop
Mobile browsers are always fullscreen. Make this endpoint a noop.
2015-03-27 11:19:33 -07:00
Isaac Murchie ab8f6e2f2b Fix link to appium-support.util 2015-03-12 17:57:55 -07:00
Isaac Murchie ffb9a5af76 Wrong helpers 2015-03-09 15:29:45 -07:00
Eric Millin 54f9b3af22 Fixed fail to find xcode 2015-03-09 16:29:36 -04:00
sebv b231d6672f new MobileSafari logic
bypasses Apple page, fixes timeouts, adds pageLoadTimeout
2015-03-09 00:41:19 +08:00
Payman Delshad 9f62caef33 Updated express's response method calls. 2015-02-26 23:20:56 +01:00
ktronic80 4b6809c80b Issue #3957 Refactored getStrings method for ios.js and ios-controller.js. cb is now last method parameter. Also update Android and Selendroid getStrings methods with stringFile parameter to fit getStrings method parameter called in controller.js. Added test for method parseLocalizableStrings in ios.js. 2014-12-01 12:03:12 -08:00
Kai Kesselring 33793591a8 #3957 added string file parameter to getStrings request. 2014-12-01 12:03:11 -08:00
Eric Millin 4d4cdb96f1 removed deprecated swipe api references (fix #3989) 2014-11-10 15:00:07 -05:00
Eric Millin 3fa27d36ac Fixed touch-specs failure and added detection of negative percentage offsets 2014-11-06 14:42:56 -05:00
Eric Millin 5663bc9ff2 Fix swipe action with target element: #3647 2014-11-04 13:32:46 -05:00
Jonathan Lipps 84ec8258c7 Merge pull request #3622 from Jonahss/userAgent
add userAgent reporting
2014-10-08 12:15:11 -07:00
Jonathan Lipps 4687052dea Merge pull request #3638 from 0x1mason/unlockDevice
Added Android lock/unlock feature: #3342 Fix
2014-09-18 10:00:27 -07:00
Eric Millin 6cc600c24b Added Android lock/unlock feature 2014-09-18 11:25:08 -04:00
Isaac Murchie ec9bbc95a3 Don't crash when sending touch actions to webviews 2014-09-12 12:56:48 -07:00
Eric Millin fbc8feb529 Fix for #2969. Added ability to arbitrarily launch activities. 2014-09-12 13:11:31 -04:00
Jonah Stiennon d78256f181 add userAgent reporting 2014-09-11 17:24:47 -07:00
Jonathan Lipps 5daea720ba bring back @jonahss's settings api changes 2014-09-08 16:13:55 -07:00
Jonathan Lipps 3395f2b47e revert premature settings API merge 2014-09-08 16:12:25 -07:00
Jonah Stiennon 5798b1436f Add Settings api, and xpathCompression setting for Android 2014-09-08 14:24:17 -07:00
Jonathan Lipps 3c6a25b5ae fix async bug in ios crash waterfall
previously, we'd respond to the client's current callback and then start
the shutdown sequence. this opened up a situation where the client could
then call another command (say driver.quit) during shutdown, enabling
the possibility of two simultaneous shutdown flows causing undefined
behavior. this fix makes sure we don't respond to the client for a
command that caused a crash until we're done shutting down.
2014-08-29 14:05:39 -07:00
bootstraponline 883d555c40 Merge pull request #3451 from austenke/master
Added isLocked method for Android
2014-08-22 07:36:04 -04:00
austenke b926dbaa61 Added isLocked method for Android 2014-08-21 13:44:48 -07:00
Jonah Stiennon 350f8c4491 Code refactoring. And 'complex find' locator strategy removed. Fixes #3092 2014-08-20 14:03:57 -07:00
Jonathan Lipps 07eac83e3d add comments for #3402 [ci skip] 2014-08-19 19:53:09 -04:00
austenke 8833d92ac1 Added replace parameter for setText
Styling Fix

Switching Boolean to boolean

Add error for ios-controller

Fixes
2014-08-15 15:36:19 -07:00
Isaac Murchie 3740c28e8c Fix errant ref to this 2014-08-05 16:22:30 -07:00
austenke 1c27b26bdb Changed location functions to location_in_view
Changed deprecation message method

Routing fix

Deprecation message fixes

Small fixes

setLocation fixes

Fixed setLocation and renamed getLocationInView

Corrected getLocation call
2014-08-04 18:22:41 -07:00
Jonathan Lipps 34827ca118 update setLocation method to use the correct spec params (fix #3229) 2014-07-25 12:10:50 -07:00
sebv 34f0ade6fe configurable callback address and port 2014-07-14 16:37:46 +08:00
Jonathan Lipps 4f1e426c95 bring back autoLaunch: false (fix #2629, fix #3045) 2014-07-03 12:41:52 -07:00
sebv 6884abe9bb Generic method to avoid server crash. 2014-06-26 22:53:59 +08:00
Isaac Murchie 9d863079cc Add network connection endpoint 2014-06-25 13:09:41 -07:00
Jonathan Lipps 7a814ba0a6 Merge pull request #2920 from imurchie/isaac-unicode
Add Android/Selendroid IME methods
2014-06-23 13:49:19 -07:00
Isaac Murchie 76e1c69645 Add Android/Selendroid IME methods 2014-06-23 12:01:20 -07:00
sebv 3e95e4f4b5 hideKeyboard update 2014-06-21 02:10:51 +08:00
Jonah Stiennon 4317dd3383 Implemented pullFolder for iOS and android 2014-06-16 11:54:54 -07: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
Jonathan Lipps 644097facc Merge pull request #2736 from imurchie/isaac-multiaction-fix
Add error handling for invalid multi pointer gestures
2014-06-03 12:25:57 -07:00
Isaac Murchie 82ec88c2f4 Add error handling for invalid multi pointer gestures 2014-06-02 16:53:49 -07:00
Isaac Murchie 151ddf93ed Fix error handling in installApp 2014-06-01 18:33:04 -07:00
Payman Delshad 8b1ec9d92c Renamed keyevent to press_keycode and added long_press_keycode. 2014-05-28 21:28:41 +02:00
Jonathan Lipps 1cae9c593c fix #2567 2014-05-14 12:25:29 +01:00
Ruben Gonzalez Alonso 858b4a30e9 Add optional argument 'language' to getStrings in Android and Selendroid 2014-05-13 09:58:05 +02:00
Isaac Murchie 19d6b77f0e Fix defaults for swipe duration 2014-05-06 15:38:49 -07:00
Isaac Murchie 320162cd05 Shift milliseconds to seconds in swipe 2014-05-02 18:02:34 -07:00
Jonathan Lipps 8a5b698e28 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 12:09:17 -07:00