Commit Graph
8881 Commits
Author SHA1 Message Date
Isaac A. Murchie e3fbd8f1e3 Add unnecessary stuff to npmignore (#10505) 2018-04-09 16:24:21 +01:00
Mykola Mokhnach b06cc534dd Fix server property assignment in the umbrella driver (#10496) 2018-04-06 19:04:02 +02:00
dan@saucelabs.com 91bbbd6673 2.27.1 v2.27.1 2018-04-04 09:55:06 -07:00
Dan Graham 7bf5a3e6d7 Fix protocol parsing (#201)
* Some problems with parsing `{protocol: <protocol>, value: <value>}`
  * `(!_.isNil(driverRes.value)` was incorrect check because `value` can be undefined or null; replaced it with `_.has(driverRes, 'value')` to check that the `value` property was set
  *  ```
       if (driverRes.value) {
          driverRes = driverRes.value;
        } 
      ``` 

      was also incorrect because `driverRes.value` may be false-y

* Moved logic into it's own function and then added tests to cover the problem cases
2018-04-04 09:54:21 -07:00
Isaac A. Murchie f7264d848e Add new chromedriver caps to docs (#10448) 2018-04-03 05:08:02 -04:00
Isaac Murchie ed6dd6566b Update docs 2018-03-30 11:17:25 -04:00
Isaac Murchie f2d8bc957e 2.27.0 v2.27.0 2018-03-29 13:45:36 -04:00
Mykola Mokhnach 2cb6695446 Send request along with websocket instance (#200) 2018-03-29 14:29:22 +02:00
Andres Galindo 048ca4be43 Added support for hub protocol (#10434) 2018-03-28 15:57:48 -04:00
Isaac A. Murchie e51db2de68 Update Chromedriver docs (#10436)
* Update Chromedriver docs

Chromedriver 2.37 is out so add its minimum Chrome version to the table.

* Typo

* Add 2.5 and 2.6 mapping
2018-03-28 15:57:31 -04:00
Isaac A. Murchie f452ffb76c Fix the build (#10437) 2018-03-28 15:57:13 -04:00
Dan Graham b4d27a4281 Pass protocol in execute command (#10362)
* Make it so executeCommand returns protocol and value/error
  * This is so that base driver can read the protocol and serve the response (base driver doesn't know what the protocol of the inner drivers are)
  * Added tests to confirm that it falls back to MJSONWP if an inner driver is not ready and handles concurrent MJSONWP and W3C sessions
  * Updated unit tests to match the new format
2018-03-27 14:39:48 -07:00
dan@saucelabs.com c423ad68a6 2.26.0 v2.26.0 2018-03-27 14:04:51 -07:00
Dan Graham f7f822611c Parse protocol from executeCommand (#195)
* If`executeCommand` returns an object that has a property 'protocol' and either a 'value' property or an 'error' property, respond with the provided protocol
* If the object is of this form, than it came from another driver that knows what protocol is being used so we re-assign the protocol to whatever was reported
* Added to delay in the 'unexpected exits' test because I was getting a race condition
2018-03-27 14:00:36 -07:00
Mykola Mokhnach 59235da587 Add endpoints for system clipboard interaction (#199)
* Add endpoints for system clipboard interaction

* Fix get endpoint
2018-03-26 14:46:37 +02:00
Mykola Mokhnach 8a48eb3f94 Tune prefix handling for web socket pathnames (#198) 2018-03-23 18:44:33 +01:00
Jonathan Lipps e4799bb88e Merge pull request #10406 from janpio/patch-1
[Docs] Add Apache Cordova to introduction
2018-03-23 06:22:24 -07:00
Jan Piotrowski 8f5e2bad99 [Docs] Add Apache Cordova to introductions 2018-03-23 11:57:26 +01:00
Mykola Mokhnach 0774ffcefc Attach server instance to each driver being created (#10400) 2018-03-23 07:39:15 +01:00
Jonathan Lipps 01eae28622 Merge pull request #10398 from appium/isaac-source-docs
Add source docs to table of contents
2018-03-22 15:57:34 -07:00
Isaac Murchie 9737715a77 2.25.0 v2.25.0 2018-03-22 11:27:29 -04:00
Mykola Mokhnach b1648467dc Add common websocket handlers (#196)
* Add common websocket handlers

* tune the default prefix

* Add integration test

* Tune the test

* Fix the functional test

* Tune socket import

* Address review comments

* Tune some expectations
2018-03-22 16:21:02 +01:00
Isaac Murchie c6fc626ccc Add source docs to table of contents 2018-03-22 10:16:01 -04:00
Isaac A. Murchie bbb8b2d541 Update travis config (#197) 2018-03-21 11:11:52 -04:00
Mykola Mokhnach 5fb4348ed7 Alter performance documentation (#10367) 2018-03-21 08:26:52 -04:00
Isaac Murchie b429f6a1ba 2.24.2 v2.24.2 2018-03-15 15:26:37 -04:00
Isaac Murchie 1cd44cf1b5 Distinguish new window from plain window in static page 2018-03-15 15:24:56 -04:00
dan@saucelabs.com eb24c6395e 2.24.1 v2.24.1 2018-03-15 08:48:38 -07:00
Dan Graham da4f28f7d9 Fix: Determine protocol in createSession (#194)
* Previously, we were only checking the HTTP payload to see what protocol should be
* This is inadequate, in the case of drivers that don't proxy W3C Capabilities yet
* The fix now is to set the protocol in `createSession` to see if the W3C caps were proxied through, if they're not, set protocol to MJSONWP
* Added unit test and one e2e test to confirm that this works
2018-03-14 15:44:50 -07:00
Mykola Mokhnach 4dcd49b41a Add documentation for performance tools available for iOS (#10348)
* Add documentation for performance tools available for iOS

* Fix grammar
2018-03-14 13:48:33 +01:00
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