Commit Graph
361 Commits
Author SHA1 Message Date
Isaac Murchie c357f4e3ef 2.8.1 v2.8.1 2017-05-18 11:31:00 -04:00
Mykola Mokhnach dd084953b8 Add warning message for erroneous responses to make debugging easier (#119) 2017-05-16 09:47:09 -07:00
Isaac Murchie c74276dfae 2.8.0 v2.8.0 2017-04-27 15:11:19 -04:00
Dan Graham 0bf5acbd52 Removed adm-zip (#118)
* Added a test for unzipFile (which uses adm-zip)
* Tested that it worked with adm-zip and then failed once adm-zip was taken out
* Replaced 'adm-zip' with zip.extractAllTo from appium-supprt
2017-04-26 17:55:46 -07:00
Dan Graham 9d1b2cedae Implemented capabilities spec (#117)
* Update  hash

* Add validateCapabilities and parseCapabilities

* Added merge capabilities

* Moved capabilities into it's own file

* Added capabilities as a possible required param

* Can pass desiredCapabilities or capabilities into createSession

* Remove 'required' desiredCapabilities

* desiredCapabilities isn't required any more because we can provide capabilities as well
* Will need to  update validation logic in 'driver.createSession' to do the validation there instead

* Code cleanup

* Skip presence constraint in parseCapabilities

* We don't need to check that items are present until after we've formed the matched capabilities

* Added validation function to routes

* Function 'validate' takes params as an arg and then returns a message if the validation fails
* Uses this to validate that either "capabilities" or "desiredCapabilities" was provided

* Renamed capabilities to caps

* Move caps required validator from process to parse

* Removed InvalidParametersError

* Update BadParametersError so that if a message is added as the 3rd argument it shows a different error message

* Made validation re-usable
2017-04-07 15:12:12 -07:00
Isaac Murchie b7bd90aa53 2.7.1 v2.7.1 2017-03-29 13:00:55 -04:00
Isaac A. Murchie 1a34f6b989 Fix casing on record screen endpoints (#115) 2017-03-29 13:00:15 -04:00
Isaac Murchie 94a1ca042a 2.7.0 v2.7.0 2017-03-23 07:31:40 -04:00
heeseon hwang 363fdacbf7 record the screen while testing (#114)
* record the screen while testing

* Update routes-specs.js
2017-03-23 07:31:18 -04:00
Isaac Murchie dc4dd7ea48 2.6.0 v2.6.0 2017-03-22 18:54:34 -04:00
Dan Graham 684ca3621b Add toggle_touch_id_enrollment endpoint (#112)
* Add toggle_touch_id_enrollment endpoint

* Update  hash
2017-03-22 18:54:12 -04:00
Jonathan Lipps 8c0e07db4d 2.5.0 v2.5.0 2017-03-16 09:50:34 -07:00
Jonathan Lipps 905428ffa5 Merge pull request #109 from appium/new-mac-driver
Make Mac an accepted platform
2017-03-16 09:48:01 -07:00
Dan Cuellar 3b07636377 Make Mac an accepted platform 2017-03-16 09:22:27 +00:00
Jonathan Lipps 1bc5e67715 2.4.1 v2.4.1 2017-03-03 14:52:59 -08:00
Jonathan Lipps 10d66e9ad1 Merge pull request #107 from appium/jlipps-events
ensure we log events in a debug fashion at least
2017-03-03 14:52:40 -08:00
Jonathan Lipps 9a7c6de17d ensure we log events in a debug fashion at least 2017-03-03 14:37:38 -08:00
Jonathan Lipps 37ca9d44a6 2.4.0 2017-03-03 14:37:31 -08:00
Jonathan Lipps e7d970c37a Merge pull request #106 from appium/jlipps-events
add event timing framework to base driver
2017-03-03 13:51:49 -08:00
Jonathan Lipps d75bde2a0e add event timing framework to base driver 2017-03-03 13:41:02 -08:00
Isaac Murchie f027310ba4 2.3.0 v2.3.0 2017-02-21 08:50:02 -05:00
Mykola Mokhnach d5ffe5773a Add proxy method to verify whether it has a request in progress and to cancel active requests (#105) 2017-02-21 08:49:43 -05:00
Isaac Murchie a3a557affe 2.2.0 v2.2.0 2017-02-15 07:39:41 -05:00
Mykola Mokhnach a6e522d619 Add helper method for matching endpoints and method names to command names (#104) 2017-02-15 07:39:07 -05:00
Jonathan Lipps 7fe6609952 2.1.7 v2.1.7 2017-02-02 11:53:04 -08:00
Jonathan Lipps 5e0730aeed Merge pull request #103 from KazuCocoa/fix_performance_params
update required an optional parameters for getting performance
2017-02-02 11:52:18 -08:00
Kazuaki MATSUO 24842637b1 update hash 2017-02-01 22:44:45 +09:00
Kazuaki MATSUO d62d336357 update required an optional parameters for getting performance 2017-02-01 08:47:49 +09:00
Jonathan Lipps 28fdedc801 2.1.6 v2.1.6 2017-01-31 14:18:31 -08:00
Jonathan Lipps d688607307 Merge pull request #102 from appium/jlipps-reset-clash
error out if someone tries to use both fullReset and noReset together
2017-01-31 14:18:09 -08:00
Jonathan Lipps 0ad8e49b8e error out if someone tries to use both fullReset and noReset together 2017-01-31 14:17:36 -08:00
Jonathan Lipps a6ac75ece8 2.1.5 v2.1.5 2017-01-23 10:40:40 -08:00
Jonathan Lipps fe368301ce Merge pull request #101 from maxhawkins/default-json
Default to application/json when no Content-Type is supplied
2017-01-23 10:38:14 -08:00
Max Hawkins 4b62dac30b Default to application/json when no Content-Type is supplied
The webdriver spec specifies that requests where the method is POST
should be parsed as JSON (see https://www.w3.org/TR/webdriver/#processing-model step 6).

Appium is too restrictive. It only parses as JSON if the application/json
Content-Type is provided, making it incompatible with some Webdriver clients
that follow the spec but don't send a Content-Type header.

This commit makes Appium less restrictive by defaulting to the application/json
Content-Type if none is provided.
2017-01-21 14:46:11 -06:00
Isaac Murchie 0433d2a269 2.1.4 v2.1.4 2017-01-04 13:27:21 -05:00
Isaac A. Murchie ffc8e03f61 Merge pull request #99 from appium/isaac-proxy-timeout
Add configurable request timeout to proxy
2017-01-04 13:21:36 -05:00
Isaac Murchie bb1f869ca9 Add configurable request timeout to proxy 2017-01-04 12:48:22 -05:00
Isaac Murchie 7955c915b0 2.1.3 v2.1.3 2016-12-28 07:26:57 -05:00
Isaac A. Murchie 1bf5d37517 Merge pull request #98 from appium/isaac-image
Add image for some gesture tests
2016-12-28 07:26:32 -05:00
Isaac Murchie 72a705abbb 2.1.2 v2.1.2 2016-12-21 15:29:37 -05:00
Isaac Murchie 618cf3bea3 Add image for some gesture tests 2016-12-21 15:28:26 -05:00
Isaac A. Murchie eb5abb8878 Merge pull request #97 from appium/isaac-logger
Remove logger, and start using one from appium-support
2016-12-21 15:20:56 -05:00
Isaac Murchie c2f16bf409 2.1.1 v2.1.1 2016-12-21 08:17:54 -05:00
Isaac A. Murchie 44a76685b9 Merge pull request #95 from appium/isaac-opts
Do not keep adding sessionId and id to optional parameters
2016-12-21 08:04:20 -05:00
Isaac Murchie 1de1af6b0c Remove logger, and start using one from appium-support 2016-12-20 12:55:23 -05:00
Isaac Murchie 65807af9fc Do not keep adding sessionId and id to optional parameters 2016-12-20 10:37:23 -05:00
Jonathan Lipps d6681d61bc issue tracking notice 2016-12-06 09:12:09 -08:00
Jonathan Lipps 6af0292b47 bump for publish v2.1.0 2016-11-24 11:27:16 -08:00
Jonathan Lipps 55fa89153e Merge pull request #93 from appium/isaac-logger
Move appium-logger into base driver
2016-11-24 11:01:40 -08:00
Isaac A. Murchie be29aec231 Merge pull request #91 from heeseon/cacheckpabilitydata
add apis to read capability data
2016-11-23 09:22:40 -08:00