Commit Graph

701 Commits

Author SHA1 Message Date
Jayme Deffenbaugh 7459413331 Check for accessibility id matching selector first and then fall back to string match. 2014-05-29 14:22:01 -07:00
Jonathan Lipps 55415f5b09 Merge pull request #2700 from sebv/package-update
package update, downgraded q, upgraded socket.io
2014-05-29 13:53:53 -07:00
Jonathan Lipps fa503817fa allow setting of tmp dir appium uses via --tmp flag 2014-05-29 13:33:20 -07:00
sebv 89cba8bc12 package update, downgraded q, upgraded socket.io 2014-05-29 20:34:38 +08:00
Jonathan Lipps dc6922477d Merge pull request #2633 from jfk-urbandaddy/jfk-location-keepAppToRetainPrefs
Also protect deleting location plists with keepAppToRetainPrefs.
2014-05-28 16:30:13 -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
Jonathan Lipps 3c8b2404d1 Merge pull request #2687 from sebv/express-4
Migrated to express 4
2014-05-28 10:28:38 -07:00
Curtis Siemens edd7a9fa74 Adding state flag so device/simulator system.log lines that do not have dates do not always get filtered out even if they are new log lines. 2014-05-28 09:10:06 -07:00
Jonathan Lipps e433bbc315 allow automation of chrome beta 2014-05-27 18:25:06 -07:00
bootstraponline 05bc569b1d Update complex find with new uiautomator constants 2014-05-27 14:27:40 -04:00
sebv f535d41abd migrated to express 4 2014-05-27 23:57:47 +08:00
Jonah 6ca80b0287 Merge pull request #2657 from bootstraponline/npe_fix
Fix DumpWindowHierarchy NullPointerException
2014-05-23 13:27:14 -07:00
bootstraponline 3baa5f53dc Fix DumpWindowHierarchy NullPointerException 2014-05-23 16:26:26 -04:00
bootstraponline ce6b4f0867 uninstall before install remote apk 2014-05-23 13:31:19 -04:00
sebv 155004a709 fixed chrome sessionId bug 2014-05-22 14:44:41 +08:00
John Kerbawy 235f4bd858 Also protect deleting location plists with keepAppToRetainPrefs.
Helps with #2612.
2014-05-21 21:37:54 -04:00
sebv 191963a485 mitigating against redundant/late session closing 2014-05-21 16:34:59 +08:00
bootstraponline f9266b5dfe Check exists before read file 2014-05-20 12:27:21 -04:00
Jonathan Lipps a0c777d961 Merge pull request #2590 from paymand/contexts_fix
Don't send the JSON response as Error in getJSONFromUrl().
2014-05-17 01:44:29 -07:00
Isaac Murchie fc595d1557 Allow String keycode 2014-05-16 10:18:09 -07:00
Payman Delshad 8d5bb05e1f Don't send the JSON response as Error in getJSONFromUrl(). 2014-05-16 14:22:05 +02:00
Jonathan Lipps 0ef5014c4f ensure we check for err as well as status 2014-05-15 15:05:21 +01:00
Jonathan Lipps ddd5c6849c fix selendroid location 2014-05-15 10:17:44 +01:00
Isaac Murchie 5ae62f983e Fix touch actions below API 18 2014-05-14 13:13:31 -07:00
Jonathan Lipps 1cae9c593c fix #2567 2014-05-14 12:25:29 +01:00
bootstraponline 1b255378ab Discard NotImportantViews only for XPath & DumpWindow
When setCompressedLayoutHeirarchy is enabled, views not marked as important to accessibility are discarded. This must be enabled for XPath and page source to work. If it's left enabled then it's not possible to find unimportant elements via other locator strategies.

If discard is toggled back to false at the end of an XPath request it will break XPath. To safely set discard to false, the code waits for the next find request that doesn't use XPath.

Thanks @paymand for figuring out how to make this work!
2014-05-13 12:48:37 -04:00
Jonathan Lipps df0bdcb15c fix spacing 2014-05-13 16:35:03 +01:00
Jonathan Lipps 4f9b96ee9c use appium-uiauto getElementById instead of sending
a bunch of brittle javascript over the wire
fix #2542
2014-05-13 15:36:15 +01:00
Ruben Gonzalez Alonso b6428069fe Use --adb option with chrome tests 2014-05-13 15:45:16 +02:00
Ruben Gonzalez Alonso 6ee18da679 Fix error launching avd 2014-05-13 15:45:15 +02:00
bootstraponline af89c29947 Merge pull request #2545 from rgonalo/getStrings
Get localized strings in Android, Selendroid and iOS
2014-05-13 06:40:46 -07:00
sebv 5dfe4d4f5c jscs style fix 2014-05-13 19:47:01 +08:00
Jonathan Lipps b263103c46 Merge pull request #2556 from sebv/jscs
Added node-jscs check
2014-05-13 04:37:41 -07:00
sebv 877b0db1c6 fixing jscs styling error 2014-05-13 19:03:17 +08:00
Vitalii Grygoruk 6294bcbcb2 Fix the bug with corrupted search context value "ctx" while during xpath search
avoiding bad syntax in case of context is empty string
2014-05-13 11:23:53 +02:00
Ruben Gonzalez Alonso be347e9257 Check updateStrings errors and improve parseLocalizableStrings in iOS 2014-05-13 09:59:24 +02:00
Ruben Gonzalez Alonso dbf5868c79 Add optional argument 'language' to getStrings in iOS 2014-05-13 09:58:06 +02:00
Ruben Gonzalez Alonso 858b4a30e9 Add optional argument 'language' to getStrings in Android and Selendroid 2014-05-13 09:58:05 +02:00
Ruben Gonzalez Alonso 2f0298463b Fix error removing old strings file from windows 2014-05-13 09:58:04 +02:00
Ruben Gonzalez Alonso 72d0237ab9 Extract strings from apk and add getStrings method on selendroid 2014-05-13 09:58:03 +02:00
Ruben Gonzalez Alonso 35cfc47e1e Extract strings from apk corresponding to device language instead of default to be used with ID location strategy in Android 2014-05-13 09:58:03 +02:00
bootstraponline 37b4b667f0 Always setCompressedLayoutHeirarchy 2014-05-12 15:14:31 -04:00
Jonathan Lipps a69c0478e6 Merge pull request #2529 from penguinho/android-language
Adding language and country support to Android
2014-05-12 08:18:38 -07:00
Dan Cuellar 5401b42d3e Adding language and country support to Android 2014-05-12 07:55:22 -07:00
Jonathan Lipps 802ab048b6 clearer activity error message 2014-05-12 10:44:12 +01:00
Jonathan Lipps e121810087 Merge pull request #2522 from rgonalo/ios-wrongid
Fix iOS callback problem after finding an element by a wrong id
2014-05-12 01:31:11 -07:00
Jonathan Lipps 53ed1c4425 Merge pull request #2512 from jlipps/master
don't allow webkitremotedebugger connection errors to crash appium
2014-05-12 01:28:34 -07:00
Ruben Gonzalez Alonso e73b60e354 Fix iOS callback problem after finding an element by a wrong id 2014-05-09 12:31:40 +02:00
bootstraponline 4dc4df3368 Restore API check for setCompressedLayoutHeirarchy 2014-05-08 12:41:58 -04:00