668 Commits
Author SHA1 Message Date
Daniel-Graham-SL1298 914d068c0b Release 3.18.0 v3.18.0 2019-07-17 09:44:38 -07:00
Bruno Alassia 3efdad8cb9 feat: Add parseCapsArray to base driver (#333) 2019-07-17 09:41:01 -07:00
Mykola Mokhnach 7cdbc62100 3.17.1 v3.17.1 2019-07-04 08:22:54 +02:00
Mykola Mokhnach 70fa8319f9 Optimize memory usage by proxy class (#334) 2019-07-03 22:41:00 +02:00
Jonathan Lipps 8a61643b09 3.17.0 v3.17.0 2019-06-25 12:14:42 -07: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
greenkeeper[bot] de720f7f34 fix(package): update validate.js to version 0.13.0 (#332) 2019-06-17 07:18:50 -04: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
Isaac Murchie ea409fb6ce 3.16.0 v3.16.0 2019-05-14 14:02:54 -04: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
Isaac Murchie 20aeef2949 Extend unexpected timeout test delay 2019-05-07 10:04:20 -04:00
greenkeeper[bot] e95336980d Update appium-gulp-plugins to the latest version 🚀 (#323)
* chore(package): update appium-gulp-plugins to version 4.0.0

* Move to test on Node 10 and 12
2019-05-07 08:02:16 -04:00
greenkeeper[bot] c5b39a3c5f fix(package): update ws to version 7.0.0 (#322) 2019-05-01 10:35:33 -07: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 291a376f3c Remove chromedriver dev dep (#320) 2019-04-24 11:35:48 -04:00
greenkeeper[bot] dc5e5ef3e0 chore(package): update chromedriver to version 74.0.0 (#319) 2019-04-24 09:58:36 -04:00
greenkeeper[bot] 137c0a8580 chore(package): update chromedriver to version 73.0.0 (#318) 2019-04-19 10:59:18 -04:00
Isaac A. Murchie d214a0d1f2 Be more explicit about unrecognized caps (#317) 2019-04-09 13:02:46 -04:00
Dan Graham 6416438405 fix: Make proxy convert /property to /attribute (#311) 2019-04-08 11:08:54 -07:00
Mykola Mokhnach 73b69f2ef9 Use proper Error object when throwing download failures (#316) 2019-04-08 10:36:08 -07:00
Jonathan Lipps 98e11b68e4 factor out image element registration to helper function (#312)
...so the function can be used by other drivers / plugins
2019-04-08 09:05:50 -07:00
Jonathan Lipps c2d5604333 Merge pull request #315 from appium/jlipps/fixflake
fix flakey unexpected shutdown test
2019-04-04 19:16:45 -07:00
Jonathan Lipps 38adee2a62 bump version to 3.15.5 v3.15.5 2019-04-04 10:42:44 -07:00
Jonathan Lipps 89e80b8ce4 fix flakey unexpected shutdown test 2019-04-04 10:36:27 -07:00
Jonathan Lipps 15d99fc11e Merge pull request #314 from appium/jlipps/misc
add isArray to cap validation strategies
2019-04-04 09:53:47 -07:00
Jonathan Lipps 2fd5db2a34 add some logging to help follow proxy protocol translation logic 2019-04-04 07:53:31 -07:00
Jonathan Lipps 009602ce56 add isArray to the cap validation strategies 2019-04-04 07:52:40 -07:00
Isaac A. Murchie b0d7e2e77b Update bluebird (#310)
* Upgrade bluebird

* Remove catch for CancellationError

* Make image command cancellable too
2019-03-26 15:58:11 -04:00
Isaac A. Murchie 5b12eebcf0 Add function names (#309) 2019-03-21 14:38:22 -04:00
Kazuaki Matsuo b38ef751f4 Fix template scale in find element by image (#307)
* add imageTemplateDefaultScale to scale arbitrary scale every time by default

* put all of template scaling into one method

* increase test cases to cover all situations

* define gnoreDefaultImageTemplateScale for click

* add a comment

* tweak comments

* fix typo, default value, docstring

* fix review

* fix ratio potential issue

* use const instead of let

* tweak a comment about scale factor

* remove _, tweak NaN comparison

* use math.round to compare two float

* rename float round constant

* fix typo

* update imgObj

* fix comments
2019-03-20 09:00:02 +09:00
dpgraham eee5140808 Release 3.15.4 v3.15.4 2019-03-11 11:48:06 -07:00
Khanh Do 757e029fad Fixed typo signalStrength (#308)
* Fixed typo signalStrength

* Update hash

* Added backward-compatible

* Updated hash & fixed unit test
2019-03-06 23:20:11 +09:00
Kazuaki Matsuo 3ec8e5675f Fix find element wrong coordinate (#306)
* fix wrong coordinate for android and ios

* separate fixScaleTemplateImage

* add fixScaleTemplateImage as a settings

* take care of both landscape and portrate

* rename to fixTemplateImageScale

* rename ratio to scale

* does not scale if the arg is non number

* rename preference name, default value

* remove comment outted lines

* add null filter as safer way
2019-03-01 10:23:09 +09:00
greenkeeper[bot] c240853d20 chore(package): update mocha to version 6.0.0 (#304) 2019-02-20 15:28:46 -05:00
Isaac A. Murchie 5425101d0c Remove generic string->boolean warning (#305) 2019-02-20 10:03:19 -05:00
Mykola Mokhnach 49a747af6d 3.15.3 v3.15.3 2019-02-18 19:16:22 +01:00
Mykola Mokhnach 8d7da14d06 Fix application type handling for urls with parameters (#303) 2019-02-18 19:13:44 +01:00
dpgraham 9631eedb3f Release 3.15.2 v3.15.2 2019-02-14 13:15:15 -08:00
Mykola Mokhnach 0c8ef9391f Fix /actions body while doing protocol translation (#302) 2019-02-14 12:58:58 -08:00
greenkeeper[bot] 477cd2ee83 chore(package): update dependencies (#301) 2019-01-31 16:12:40 -08:00
Mykola Mokhnach 1a46542e2c 3.15.1 v3.15.1 2019-01-29 15:57:03 +01:00
Mykola Mokhnach 6288fb2784 Address the case where setValue contains non-specced stuff (#299) 2019-01-29 15:55:05 +01:00
Mykola Mokhnach a969967a26 Apply command timeout only if queuing is enabled (#298) 2019-01-28 20:04:39 +01:00
dpgraham 154143b22a 3.15.0 v3.15.0 2019-01-28 09:11:08 -08:00
dpgraham b9abfdfa9f Bump version back up to 2.14.0 2019-01-28 09:10:42 -08:00
Mykola Mokhnach 7b163dcb4d Handle setValue API call conversion between protocols (#297) 2019-01-27 08:37:45 +01:00
Jonathan Lipps c6a14732b8 3.13.2 v3.13.2 2019-01-08 11:47:33 -08:00
Jonathan Lipps 521229e36c add user-agent to list of cors headers (#296) 2019-01-08 11:45:56 -08:00