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
Kazuaki Matsuo
a98f22607e
add POST for system_time in order to set payload ( #294 )
2019-01-07 09:26:10 +01:00
Mykola Mokhnach
fcacb0205d
Tune the list of allowed headers for CORS ( #293 )
2018-12-28 22:55:43 +01:00
Mykola Mokhnach
ee17aef91c
Fix timeout arguments conversion ( #292 )
2018-12-27 19:26:04 +01:00
Jonathan Lipps
8d699e0359
rename the jsonwp proxy logger so it's less confusing in the logs ( #291 )
2018-12-10 15:00:59 -08:00
Dan Graham
644208fe60
Copy W3C/Element keys instead of renaming them ( #290 )
2018-12-10 13:24:36 -08:00
Mykola Mokhnach
df80b7cd2b
Make sure the app is not cleaned up if relative path is provided ( #289 )
2018-12-04 18:07:52 +01:00
Mykola Mokhnach
06094f2500
Consider getting file extension from the url if response headers are not useful ( #288 )
2018-11-30 18:14:30 +01:00
Dan Graham
6f565760df
Do not use static yet. Still experimental. ( #286 )
2018-11-22 13:51:01 -08:00
Jonathan Lipps
f66dadcd6b
make allowing CORS conditional ( #285 )
...
* make allowing CORS conditional
It turns out blindly allowing CORS could be a security hazard (who knew)
See https://github.com/w3c/webdriver/pull/1362 for the conversation that led to this realization.
This change makes the cross domain middleware conditional (defaulting to the current behavior).
This way Appium can pass in 'false' based on a flag, for better server security.
* actually include function parameter we can use from appium
2018-11-21 16:46:53 -08:00
greenkeeper[bot]
4291f7cef7
Update lru-cache to the latest version 🚀 ( #284 )
...
* fix(package): update lru-cache to version 5.0.0
* Fix call to LRU
2018-11-21 08:14:07 -05:00
Jonathan Lipps
f86b4c5685
allow correct downloading of zipped apps without content type header ( #282 )
2018-11-14 07:55:42 -08:00
Mykola Mokhnach
cf0e95baf8
Automatically fix relative application paths ( #276 )
2018-11-02 10:02:20 +01:00
Mykola Mokhnach
3141e831cb
Properly synchronize applications caching ( #274 )
2018-10-22 16:10:35 +02:00
Mykola Mokhnach
9657712c90
Remove samba support ( #273 )
2018-10-19 15:43:16 -07:00
Mykola Mokhnach
14cfcfcef7
Make it possible to pass multiple supported extensions to configureApp helper ( #271 )
2018-10-19 20:27:54 +02:00
Mykola Mokhnach
27a2d45e38
Avoid TypeError if stacktrace is undefined ( #269 )
2018-10-16 07:13:39 +02:00
Jonathan Lipps
02b3b87164
add custom locator strategy ( #268 )
...
* add custom locator strategy
* address review comments
* allow customFindModules cap to register multiple modules as an object
* add unit tests for custom element finding plugin
2018-10-12 10:19:57 -07:00
Isaac Murchie
2f4366187a
Fix exports for new Babel
2018-10-03 09:17:26 -04:00
Isaac A. Murchie
04af064564
Update appium-gulp-plugins ( #266 )
2018-10-03 09:00:58 -04:00
Mykola Mokhnach
5cf4f13609
Fix protocol conversion for getWindowHandle command ( #265 )
2018-09-30 21:04:56 +02:00
Mykola Mokhnach
d0d85bf6ff
Allow numbers-as-strings while performing capabilities verification ( #264 )
2018-09-27 19:35:55 +02:00
Mykola Mokhnach
f9581f1642
Limit the count of request agents in the proxy pool ( #260 )
2018-09-19 09:12:59 -07:00
Mykola Mokhnach
d176cda10c
Append the current session identifier to the protocol name prefix ( #259 )
2018-09-18 13:53:33 +02:00
Mykola Mokhnach
16e2852a1b
Fix the way current protocol is determined from execute response ( #258 )
2018-09-11 18:27:27 +02:00
Mykola Mokhnach
d80a78a615
Fix protocol detection inside the routing function ( #257 )
2018-09-08 20:39:08 +02:00
Mykola Mokhnach
e6218fb4b1
Replace isError lodash verification as it is not reliable ( #256 )
2018-09-07 16:18:13 +02:00
Mykola Mokhnach
432915f234
Fix setting alert text for W3C protocol ( #254 )
2018-09-06 18:01:03 +02:00
Mykola Mokhnach
50e4c04805
Change logging level to debug for internal errors ( #255 )
2018-09-06 18:00:23 +02:00