Jonathan Lipps
cffd5b4f62
fix: catchall handler should be added after plugin application ( #434 )
2020-09-30 18:42:07 -07:00
Mykola Mokhnach
14efcc973a
feat: Add Webauthn routes ( #433 )
2020-09-19 21:24:07 +02:00
Mykola Mokhnach
e24be8a7a2
fix: Return proper responses to unexpected errors ( #432 )
2020-09-09 07:42:49 +02:00
dependabot-preview[bot] and Mykola Mokhnach
93ff4c16f2
chore(deps): bump http-status-codes from 1.4.0 to 2.1.1 ( #428 )
...
* chore(deps): bump http-status-codes from 1.4.0 to 2.1.1
Bumps [http-status-codes](https://github.com/prettymuchbryce/node-http-status ) from 1.4.0 to 2.1.1.
- [Release notes](https://github.com/prettymuchbryce/node-http-status/releases )
- [Commits](https://github.com/prettymuchbryce/node-http-status/compare/v1.4.0...2.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update imports
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com >
2020-08-24 07:41:47 +02:00
Dan Graham
028ac1563c
fix: allow prefixed standard capabilities ( #425 )
...
* fix: allow prefixed standard capabilities
* PR Fix
* Add test for duplicates
2020-08-19 21:16:30 -07:00
Mykola Mokhnach
e53ba6ed01
chore: Always destroy active sockets on server shutdown ( #424 )
2020-08-14 07:06:39 +02:00
Jonathan Lipps
f1833e33a6
feat: allow plugins to modify the server and method map ( #422 )
2020-07-22 10:16:36 -07:00
Mykola Mokhnach
faf0fb2a7c
refactor: Move common constants to a separate file to avoid unnecessary cross-imports ( #411 )
2020-05-20 20:06:04 +02:00
Mykola Mokhnach
5b5d6dde28
fix: Adjust the validation of proxied requests ( #410 )
2020-05-05 21:02:32 +02:00
Mykola Mokhnach
aeffcd402d
refactor: Use axios for the actual proxy implementation instead of the deprecated request module ( #409 )
...
BREAKING CHANGE: The request method of Proxy class now accepts and returns axios-specific values
BREAKING CHANGE: The default value of keepAlive setting has been changed to true
2020-05-05 16:52:14 +02:00
Mykola Mokhnach
57ef9bc7ab
chore: Replace request usage with axios in tests ( #408 )
2020-05-05 14:26:33 +02:00
Mykola Mokhnach
4b735996b2
chore: Switch to axios in App download ( #407 )
2020-05-04 07:24:52 +02:00
snoopy-peace
5d36756c1c
chore: Define options for for doubleClick, buttonUp\Down routes ( #406 )
2020-04-24 11:31:51 +02:00
Kazuaki Matsuo
d22c01f759
feat: add calling chrome devtools endpoint for chromium ( #405 )
...
* add calling chrome devtools for chromium
* fill command and required parameter in
* replace goog with :vendor
2020-04-18 10:08:56 +09:00
Isaac A. Murchie
d396dbf823
chore: fix linting issues ( #403 )
...
* chore: fix linting issues
* fix: address review
2020-03-31 15:43:13 -04:00
Mykola Mokhnach
0cee519e8f
feat: Add requests idempotency verification on the server side ( #400 )
2020-03-30 22:19:27 +02:00
Kazuaki Matsuo
d8f3c83f0c
feat: add score attribute for image element ( #396 )
...
* feat: add score
* add doc
* bump support
* fix docstring
2020-03-22 00:40:01 +09:00
Mykola Mokhnach
d0ac39d8fc
chore: Import uuid from appium-suuport ( #391 )
2020-03-14 07:28:04 +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
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
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
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
Isaac A. Murchie
4f52b1b654
fix: fix the build for Node 12.11.0 ( #359 )
2019-09-30 13:02:09 -04: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
Kazuaki Matsuo
58222d35f9
accept text for setValueImmediate and replaceValue as W3C ( #347 )
2019-08-16 10:20:53 +09:00
Alexis Gauthiez
9c0931d28c
Handle Content-Type with parameter ( #341 )
2019-08-05 21:31:19 +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
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
20aeef2949
Extend unexpected timeout test delay
2019-05-07 10:04:20 -04:00
Isaac A. Murchie
291a376f3c
Remove chromedriver dev dep ( #320 )
2019-04-24 11:35:48 -04:00
Dan Graham
6416438405
fix: Make proxy convert /property to /attribute ( #311 )
2019-04-08 11:08:54 -07:00
Jonathan Lipps
89e80b8ce4
fix flakey unexpected shutdown test
2019-04-04 10:36:27 -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
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
Mykola Mokhnach
7b163dcb4d
Handle setValue API call conversion between protocols ( #297 )
2019-01-27 08:37:45 +01:00
greenkeeper[bot]
4eab674f92
Update eslint-config-appium to the latest version 🚀 ( #295 )
...
* chore(package): update eslint-config-appium to version 4.0.1
* chore: fix linting
2019-01-07 13:11:57 -06:00
Kazuaki Matsuo
a98f22607e
add POST for system_time in order to set payload ( #294 )
2019-01-07 09:26:10 +01:00
Mykola Mokhnach
ee17aef91c
Fix timeout arguments conversion ( #292 )
2018-12-27 19:26:04 +01:00
Dan Graham
644208fe60
Copy W3C/Element keys instead of renaming them ( #290 )
2018-12-10 13:24:36 -08:00