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
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
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
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
Isaac A. Murchie
5425101d0c
Remove generic string->boolean warning ( #305 )
2019-02-20 10:03:19 -05:00
Mykola Mokhnach
8d7da14d06
Fix application type handling for urls with parameters ( #303 )
2019-02-18 19:13:44 +01:00
Mykola Mokhnach
0c8ef9391f
Fix /actions body while doing protocol translation ( #302 )
2019-02-14 12:58:58 -08: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
Mykola Mokhnach
7b163dcb4d
Handle setValue API call conversion between protocols ( #297 )
2019-01-27 08:37:45 +01:00
Jonathan Lipps
521229e36c
add user-agent to list of cors headers ( #296 )
2019-01-08 11:45:56 -08: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