Commit Graph
9151 Commits
Author SHA1 Message Date
Isaac Murchie e7c965e618 2.24.0 v2.24.0 2018-03-13 11:42:18 -04:00
Jonathan Lipps 30e7b45bdc Merge pull request #10335 from saikrishna321/master
added uiAutomator2 caps
2018-03-12 02:43:44 -07:00
saikrishna321 345f117f24 added uiAutomator2 caps 2018-03-12 14:55:19 +05:30
Jonathan Lipps add9cfe6ad Merge pull request #10314 from appium/isaac-cd
Add v2.36 to chromedriver docs
2018-03-07 11:30:30 -08:00
Isaac Murchie 7d5b5b9ace Add v2.36 to chromedriver docs 2018-03-07 13:04:16 -05:00
Mykola Mokhnach e42e77a19e Sync w3c codes with the recent spec (#193) 2018-03-05 19:19:45 +01:00
Mykola Mokhnach d62cb5a471 Add missing error codes (#192)
* Add missing error codes

* Add more logging

* Fix sime unit tests

* Add NoSuchFrameError W3C error

* Address comments

* Fix the unit test
2018-03-05 07:41:50 +01:00
Kazuaki Matsuo b0a48a3e83 add network related commands for Ruby (#10251)
* add network related commands for Ruby

* set client_support true
2018-02-27 01:16:01 +09:00
Kazuaki Matsuo 84710b2d75 add commands of power ac and power capacity (#10253) 2018-02-24 14:24:47 +09:00
Isaac Murchie 9c663bc764 2.23.0 v2.23.0 2018-02-23 12:03:11 -05:00
Isaac A. Murchie b143cff884 Add logging commands to the base driver (#191)
* Add logging commands to the base driver

* Address comments
2018-02-23 12:02:20 -05:00
Isaac Murchie a8c0dde3e5 2.22.3 v2.22.3 2018-02-23 05:54:28 -05:00
Linda_pp bd5b5379a0 fix the default value of payload parameters (#190) 2018-02-23 05:53:28 -05:00
Dan Graham 70e31115f5 Doc fix (#10234) 2018-02-21 13:48:27 -08:00
Mykola Mokhnach c0bb5166c8 Print more advanced error message for non-supported protocols (#189) 2018-02-21 17:20:48 +01:00
trixo 18733e0588 docs update (#10231) 2018-02-21 10:30:35 -05:00
dan@saucelabs.com e85e4bf741 2.22.2 v2.22.2 2018-02-19 09:23:56 -08:00
Dan Graham a14aa5f428 Convert JSONWP proxy errors (#188)
* Convert JSONWP proxy errors
  * Previously, if a proxied response has a status code >= 0 but http status code 200, the error is thrown but it's an unknown error because the 'getResponseForW3CError' function doesn't translate the error
  * Now, it translates the JSONWP error using logic we already have that accomplishes this
  * Added E2E test that tests a proxy that returns 200 but status 7 to check that it throws the correct ElementNotFoundError
  * Added unit test to handle the new case in 'getResponseForW3CError'
2018-02-19 09:22:01 -08:00
Mykola Mokhnach d47d597731 Add urls caching logic (#187)
* Add urls caching logic

* Tune date verification

* Fix dictionary access

* tune try/catch scope

* simplify the condition
2018-02-16 14:51:16 +01:00
Dan Graham 373c62de4d Go back to using nodeca/argparse (#10205) 2018-02-16 08:14:03 -05:00
Dan Graham 9650d66a67 Fix customSSLCert documentation error (#10155)
Should be Sim only, not Sim/Emu
2018-02-15 08:41:50 -05:00
Isaac Murchie 9c994e85c9 Bump appium-ios-driver to 2.0 2018-02-15 08:37:03 -05:00
Kazuaki Matsuo 829aafcd25 Update settings.md (#10196)
* Update settings.md

* fix review
2018-02-15 07:32:52 -05:00
Isaac Murchie b7299c420c 2.22.1 v2.22.1 2018-02-14 08:02:52 -05:00
Mykola Mokhnach d9ee071707 Properly handle unexpected socket errors (#186) 2018-02-13 16:21:57 -08:00
Dan Graham 9f9f132649 Use appium argparse (#10191) 2018-02-13 10:54:58 -08:00
Isaac A. Murchie 348eacf3d1 Move to minimum node 6 (#10180) 2018-02-12 15:03:11 -05:00
Isaac A. Murchie be2acb207c Update Contributing Docs (#10165)
* Update contributing docs

* Fix some links and examples

* Address comments
2018-02-12 07:58:15 -05:00
Daniel Graham 6a1bb47e86 2.22.0 v2.22.0 2018-02-09 13:48:11 -08:00
Isaac A. Murchie 77fe650dd6 Update android driver version (#10163) 2018-02-08 16:02:28 -05:00
Dan Graham 1c6aa98a53 Fix outdated test (#10162) 2018-02-08 15:06:48 -05:00
Mykola Mokhnach c679d534e4 Change the request type of queryAppState to POST (#185)
* Change the request type of queryAppState to POST

* Keep GET template
2018-02-08 14:38:26 +01:00
dan@saucelabs.com a5adc116d8 2.21.2 v2.21.2 2018-02-07 10:42:08 -08:00
Dan Graham b00cc4489b Parse strings for W3C and JSON (#184) 2018-02-07 10:39:15 -08:00
Dan Graham d580282b2a Reassign 'errorFromCode' to 'errorFromW3CJSONCode' (#183)
* When doing refactoring, erroFromCode was split into 'errorFromMJSONWPStatusCode' and 'errorFromW3CJsonCode'
* 'errorFromCode' was being exported as an alias for 'errorFromW3CJSONCode' to avoid breaking changes
* Should have been an alias for 'errorFromMJSONWPStatusCode' though
2018-02-06 14:19:52 -08:00
dan@saucelabs.com 361d6f1c59 2.21.1 v2.21.1 2018-02-05 11:56:38 -08:00
Dan Graham 7ffda66813 Fixed W3C error messaging (#182)
* Do proxying for W3C responses
  * If a W3C Response is provided by a proxy, map to the correct error
  * Checks if `value` is an object and `value.error` and maps it based on that (`value.error` is the W3C error code)
  * Broke off `errorFromCode` into `errorFromMJSONWPStatusCode` and `errorFromW3CJsonCode`
* Rename '.error' property to correct W3C property
  * The error property in the ProtocolError objects should match up with https://www.w3.org/TR/webdriver/#handling-errors under the 'JSON Error Code' column
  * Added tests for all of these
* Make ProxyRequestError work for W3C
  * Added an arg called `.w3c` that passes in the proxied W3C error
  * Fixed the `getActualError` function that looks for the .w3c variable and parses error from the code
2018-02-05 11:55:56 -08:00
Nick Fox b9d56049a3 Update migrating-to-xcuitest.md (#10112) 2018-02-01 11:52:49 -05:00
Isaac Murchie 2933fe45ec 2.21.0 v2.21.0 2018-02-01 08:38:13 -05:00
Mykola Mokhnach c8d1a1f7da Add an endpoint for application activation (#181) 2018-01-31 14:47:40 +01:00
Isaac Murchie 074697f061 More readable caps in docs 2018-01-30 07:22:20 -05:00
dan@saucelabs.com 1a6b05e6c1 2.20.3 v2.20.3 2018-01-29 12:54:02 -08:00
Dan Graham dc662f5181 Update protocol documentation (#180) 2018-01-29 12:44:23 -08:00
Dan Graham 97c02c8af0 Rename 'mjsonwp' to 'protocol' (#178)
* Rename 'mjsonwp' to 'protocol'
  * Renamed folder from 'mjsonwp' to 'protocol' in `lib/` and `test/`
  * Renamed 'mjsonwp.js' to 'protocol.js'
  * Renamed any import statements that use 'mjsonwp'
  * _Possible breaking change_: MJSONWireProtocol class exposed in index was renamed to just Protocol.... checked Appium repo and found no libraries that use MJSONWireProtocol
* Lint fix
2018-01-29 12:41:14 -08:00
Dan Graham 85c0085292 Renamed MJSONWPError to ProtocolError (#177)
* Changed the logger to be 'W3C' when it's W3C protocol and 'MJSONWP' when it's MJSONWP protocol
2018-01-29 11:34:33 -08:00
Mykola Mokhnach 8093a35121 Use uia2 backend by default if platform version is greater or equal to 6 (#10073)
* Use uia2 backend by default if platform version is greater or equal to 6

* Allow to force set the backend to UIA1

* Add unit tests

* Tune the log message

* Print a warning message instead of changing the driver type

* Remove redundant imports

* Tune the message

* Address PR comments
2018-01-29 17:14:52 +01:00
Mykola Mokhnach 240961ecdd Tune application management endpoints (#179)
* Tune endpoints for applications management

* Add options param to terminateApp
2018-01-29 14:44:08 +01:00
Dan Graham 47e8955bf4 Test content-type in errors (#10077) 2018-01-25 13:10:45 -08:00
Dan Graham 35135a6ee5 Remove unnecessary 'finally' block (#10076)
* Shouldn't have had finally block because then it does two checks to fall back to MJSONWP
* Also fixed outdated tests
2018-01-25 12:45:02 -08:00
dan@saucelabs.com 2681b4d990 2.20.2 v2.20.2 2018-01-25 10:51:38 -08:00