336 Commits
Author SHA1 Message Date
Isaac A. Murchie e230434d14 refactor: use util.pluralize (#386) 2020-02-07 10:23:10 -05:00
Isaac A. Murchie 8784face21 fix: add another condition for terminating socket 2020-01-10 15:54:08 -05:00
Isaac A. Murchie 1d350ebb17 fix: terminate socket on DELETE and NoSuchDriverError (#382) 2020-01-10 13:34:55 -05:00
Isaac A. Murchie a8e47a8c3d refactor: just a little more visibility into unprefixed caps (#381) 2020-01-06 12:38:24 -05:00
Mykola Mokhnach a6a8ece782 chore: Tune logging for applications cache items disposal (#380) 2020-01-04 22:40:32 +01:00
Isaac A. Murchie 8624a8061f refactor: move to new timing API (#377) 2019-12-19 11:28:28 -05:00
Mykola Mokhnach 87a69337bb chore: Import rimrafSync from appium-support (#376) 2019-12-17 17:39:42 +01:00
Mykola Mokhnach 29fcd5d5c1 fix: Perform synchronous removal of applications cache (#375) 2019-12-16 18:12:29 +01:00
Mykola Mokhnach 0183e4d9b3 refactor: Change the applications caching logic (#374) 2019-12-13 20:15:24 +01:00
Mykola Mokhnach 4e47102f56 refactor: Change the setting update validation, so we don't print unnecessary warnings (#372) 2019-12-09 15:58:41 +01:00
Isaac A. Murchie 3479210e3d fix: when parsing cap array, pass array through (#373) 2019-12-07 11:36:22 -06:00
Mykola Mokhnach da0f5f3ed0 fix: make sure the listener gets removed after the command executor is completed (#371) 2019-11-26 21:15:29 +01:00
Mykola Mokhnach 1931e778ad refactor: Prefer event emitting to promises cancelation (#370)
BREAKING CHANGE: The current refactoring is breaking and changes `onUnexpectedShutdown` property to a function, which accepts a handler that is invoked by the driver when it gets shut down unexpectedly
2019-11-25 19:01:38 +01:00
Mykola Mokhnach 9de802864c fix: Sync parameters validation for the old and the new set alert text endpoints (#369) 2019-11-20 09:35:08 +01:00
Kazuaki Matsuo 260af285ac feat: add filtering log events with type (related to #365) (#368)
* add filtering with type

* use reduce, add converting to array

* make anonymous
2019-11-13 16:44:36 +09:00
Mykola Mokhnach 168a01af69 fix: Fix the request options for different keepAlive values (#367) 2019-11-07 18:37:17 +01:00
Mykola Mokhnach 1600980840 fix: Explicitly set keep-alive server timeout (#366) 2019-11-06 18:57:54 +01:00
Jonathan Lipps 09a7bf81c9 feat: add ability to retrieve log events as a new api route (#365) 2019-11-05 16:38:30 -08:00
Jonathan Lipps e434762c31 feat: add new route to allow logging of custom events (#364) 2019-11-04 19:56:31 -08:00
Mykola Mokhnach e9eb77f74e fix: Make device name non required (#363) 2019-10-19 21:21:38 +02:00
Mykola Mokhnach 753ef55cec refactor: Reuse walkDir implementation from appium-support module (#361) 2019-10-17 14:58:46 +02:00
Mykola Mokhnach 445b180f77 refactor: Replace custom commands queue implementation with async lock (#362) 2019-10-16 18:34:52 +02:00
Mykola Mokhnach b860a3bfa4 fix: Adjust the error codes for NotImplementedError (#357) 2019-10-04 13:42:56 +02:00
Mykola Mokhnach 7d0de6b6e4 fix: Avoid using instanceof verification (#356) 2019-09-23 18:52:39 +02:00
Mykola Mokhnach e2b4fb3570 fix: Tune status presence verification for generic protocol (#355) 2019-09-05 20:09:15 +02:00
Isaac A. Murchie da44da41dd fix: remove redundant log line on cached app found (#354) 2019-09-04 13:46:22 -04:00
Mykola Mokhnach 9af62586f5 fix: Patch downstream responses for unknown upstream protocol (#353) 2019-09-03 07:25:12 +02:00
Jonathan Lipps cc8b879da2 feat: stop hardcoding /wd/hub and make route prefix configurable [BREAKING CHANGE] (#346) 2019-08-27 09:23:10 -07:00
Isaac A. Murchie 22eef3b4a3 refactor: make server parameters a hash [breaking change] (#350) 2019-08-26 15:15:19 -04:00
Mykola Mokhnach 568671e90e fix: Do not print stack for request errors (#352) 2019-08-22 18:35:55 +02:00
Mykola Mokhnach 3af13feece fix: Fix session identifier retrieval for W3C protocol (#351) 2019-08-22 07:42:12 +02:00
Mykola Mokhnach fc24958bbb chore: Export isStandardCap method (#349) 2019-08-21 12:48:20 +02:00
Mykola Mokhnach f74d12dcc7 fix: Properly log request errors (#348) 2019-08-19 19:39:01 +02:00
Kazuaki Matsuo 58222d35f9 accept text for setValueImmediate and replaceValue as W3C (#347) 2019-08-16 10:20:53 +09:00
Mykola Mokhnach f64d116e2c Update response handling for proxyReqRes call (#344) 2019-08-10 19:29:51 +02:00
Alexis Gauthiez 9c0931d28c Handle Content-Type with parameter (#341) 2019-08-05 21:31:19 +02:00
Isaac A. Murchie 4bcd9c76fb Allow CORS for receiving async responses (#342) 2019-08-02 06:51:43 -04:00
Mykola Mokhnach 2039cebb03 Add protocol conversion for setFrame call (#340) 2019-07-30 14:30:36 +02:00
Mykola Mokhnach 4472331cc0 Improve the logic of proxyReqRes method (#337) 2019-07-19 20:03:12 +02:00
Mykola Mokhnach ed16a689d3 Update the logic that determines the session protocol (#336) 2019-07-18 19:15:14 +02:00
Mykola Mokhnach f1dd550eeb Add a workaround to POST /window W3C call (#335) 2019-07-18 07:00:00 +02:00
Bruno Alassia 3efdad8cb9 feat: Add parseCapsArray to base driver (#333) 2019-07-17 09:41:01 -07:00
Mykola Mokhnach 70fa8319f9 Optimize memory usage by proxy class (#334) 2019-07-03 22:41:00 +02:00
Jonathan Lipps 23d6ecf949 Add endpoint that receives a webdriver script for batch command execution (#328)
* add executeDriverScript route, command, tests

* allow driver scripts to write and collect console logs

* ensure driver script protocol is set to same protocol as driver, and also includes all appium commands

* implement isFeatureEnabled to check for insecure feature

* add tests for isFeatureEnabled

* update feature flag name to match style of other flags

* add ensureFeatureEnabled method for use by other drivers

* move driver script execution into a child process so we can kill it if necessary

* use this.opts.address instead of this.opts.host

* ensure driver script timeout is a number in the child proc as well

* ensure we get webdriverio without issues
2019-06-25 12:12:27 -07:00
Siddartha Pradhan 69dde698d6 Better message for creating session with W3C (#331) 2019-06-17 20:25:58 +02:00
Kazuaki Matsuo e3caf43337 add getting result image by find by image (#327)
* add getMatchedImageResult and return the result if it is true

* add tests

* tweak error case
2019-05-29 13:00:17 +09:00
Dan-Maor b7b0a72b24 added keepalive option to JWProxy (#325) 2019-05-13 08:24:22 -04:00
Isaac A. Murchie b188ee9b20 Only get message from error (#324) 2019-05-07 16:37:12 -04:00
Kazuaki Matsuo 25ac169436 fix handling 0 in gsmSignal (#321)
* fix handling 0 in gsmSignal

* use hasValue
2019-05-01 01:43:07 +09:00
Isaac A. Murchie d214a0d1f2 Be more explicit about unrecognized caps (#317) 2019-04-09 13:02:46 -04:00