Jonathan Lipps
bf4dcae4f1
add rest endpoints to handle mobile: methods in addition to executeScript
2014-04-02 12:15:34 -07:00
Jonathan Lipps
e9bd1403d1
Merge pull request #2212 from landryraccoon/master
...
Allow changing of ports with an environment variable
2014-04-01 14:45:07 -07:00
Jonathan Lipps
6e154f4f81
Merge pull request #2229 from vgrigoruk/vgrigoruk-master
...
Fixes #2131 .
2014-04-01 09:55:09 -07:00
Vitalii Grygoruk
b70dc24eec
Mised toLowerCase for iOS.js (+2 squashed commits)
...
Squashed commits:
[fba9410 ] Making sure toLowerCase() is still used for chrome.js
[0cbfa68 ] We don't need toLowerCas() for app argument, as it is used for passing CFBundleIdentifier, fixes #2131
2014-04-01 09:37:49 +02:00
Jonathan Lipps
8ff9a0439d
Merge pull request #2223 from jlipps/master
...
check that iOS deviceName matches instruments's list before launching
2014-03-31 15:38:56 -07:00
Jonathan Lipps
39949dc835
check we can launch a device based on user's caps and throw a nice error if not ( fix #2114 )
2014-03-31 12:15:34 -07:00
Isaac Murchie
2043324473
Fix setWindow for Android
2014-03-31 10:59:11 -07:00
Jonathan Lipps
f78cee9644
Merge pull request #2211 from jlipps/real-xpath-android
...
Real XML-based XPath for Android
2014-03-28 15:07:50 -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
Tim Wang
2349105a67
Fix omitted var keyword
2014-03-28 13:53:38 -07:00
Tim Wang
0150fc7d6d
Allow changing of ports with an environment variable
2014-03-28 12:01:00 -07:00
Jonathan Lipps
97710ca829
Merge pull request #2209 from sebv/async-queue
...
Ios command queue using Async.queue
2014-03-28 10:45:05 -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
sebv
5e44dee358
rewrote screenshot logic
2014-03-29 00:25:06 +08:00
Jonathan Lipps
aba0f5a191
use indexpath find retry even when trying to find a single element that becomes stale
2014-03-28 08:00:52 -07:00
Jonathan Lipps
da4e83cd9d
use our own fork of node-js2xmlparser
2014-03-28 07:55:31 -07:00
sebv
767a6bd992
reimplemented queue with async.js
2014-03-28 22:53:47 +08:00
Jonathan Lipps
9de846cf1c
add deprecation warnings for old page source and xpath methods
2014-03-27 16:29:55 -07:00
Jonathan Lipps
af2427a03c
add real xpath support making use of getElementByIndexPath
...
this depends on https://github.com/appium/appium-uiauto/pull/11
also depends on https://github.com/michaelkourlas/node-js2xmlparser/pull/10
partially addresses issue 2155
2014-03-27 16:29:55 -07:00
jonahss
878497d63f
accessibility_id -> accessibility id
2014-03-27 15:05:17 -07:00
jonahss
0ff63ff003
-ios_uiautomation -> -ios uiautomation
2014-03-27 14:42:14 -07:00
sebv
725c451a88
fixing strategy name mismatch
2014-03-27 11:59:46 +08:00
Dylan Lacey
9a7594870c
Added deprecation warning for tag name
...
Add deprecation warnings for class name, tag name locator strategies.
Deprecations warnings will now be thrown for:
* 'tag name' in the native context
* 'class name' in the native context
* 'class name' in the web context
'class_name' is now a valid locator strategy for checkValidLocStrat
Add test for new class name locator
rename createCommand createGetElementCommand
Adding unit tests for new exception throwing
Add test for incorrect UIA class names
2014-03-25 18:07:02 -07:00
Jonathan Lipps
5c265bc459
ensure that app is always force-stopped before uninstalling apk ( fix #1757 )
2014-03-25 13:28:28 -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
Jonathan Lipps
01395f1391
Merge pull request #2164 from sebv/log-colors
...
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-25 12:21:38 -07:00
Jonathan Lipps
066492ad42
Merge pull request #2167 from sebv/safer-rimraf
...
safer rimraf
2014-03-25 12:07:51 -07:00
Jonathan Lipps
5bc344d74e
Merge pull request #2170 from paymand/fast_reset_remote_apk
...
Make sure the app is always signed *before* getting the MD5 hash.
2014-03-25 11:46:40 -07:00
Jonathan Lipps
d417033529
Merge pull request #2173 from mobiware/ios-full-reset-prefs5
...
Fix #2133
2014-03-25 10:54:19 -07:00
Romain Criton
390cf0e948
Fix #2133
2014-03-25 17:29:28 +00:00
Payman Delshad
48a8110bcb
Make sure the app is always signed *before* getting the MD5 hash.
2014-03-25 14:01:14 +01:00
sebv
9936a039cc
safer rimraf
2014-03-25 16:23:58 +08:00
sebv
34816eaa70
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-25 11:34:34 +08:00
jonahss
273a008b95
add accessibility_id loc strat
2014-03-24 11:11:04 -07:00
bootstraponline
75faec10e5
Fix EXDEV error when using renameSync to move
2014-03-24 09:42:43 -04:00
sebv
cf783c5c82
Revert "Avoiding passing LogNoColors/LogColors everywhere."
...
This reverts commit bdb63583de .
2014-03-23 11:33:19 +08:00
sebv
8bd5802fee
Revert "safer rimraf"
...
This reverts commit 862ca490e5 .
2014-03-23 11:32:26 +08:00
sebv
862ca490e5
safer rimraf
2014-03-22 20:48:33 +08:00
sebv
bdb63583de
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-22 20:47:31 +08:00
jonahss
ae670caf88
Fixed a bug where requesting an invalid locator strategy on android caused uiautomator to die unexpectedly. Added a test
2014-03-21 15:46:25 -07:00
jonahss
6b0e9708ab
add -ios_uiautomation locator strategy
2014-03-21 15:44:09 -07:00
Jonathan Lipps
45c2bd346c
Merge pull request #2117 from paymand/remove_fast_clear
...
Removed 'fastClear' capability.
2014-03-21 09:37:55 -07:00
Jonathan Lipps
0654ad8a62
Merge pull request #2118 from bootstraponline/leak
...
Prevent leaking state across executions
2014-03-21 09:35:47 -07:00
bootstraponline
fb71904570
Format java according to bootstrap/.settings
2014-03-21 11:14:49 -04:00
bootstraponline
1f06f9244e
Merge pull request #2115 from jlipps/master
...
misc fixes
2014-03-21 11:10:19 -04:00
bootstraponline
17e3fc3edb
Prevent leaking state across executions
2014-03-21 11:05:50 -04:00
bootstraponline
a259762835
Merge pull request #2116 from paymand/2085
...
Fixup for #2085 . set isElement to false if getElement() throws.
2014-03-21 10:14:54 -04:00