Commit Graph
9145 Commits
Author SHA1 Message Date
Isaac Murchie 6f186f6ad7 Update packweb config 2018-08-28 10:13:44 -04:00
Mykola Mokhnach 41cc517cbf Return more appropriate info as server status and speed it up (#11232)
* Improve /status response for the umbrella driver
2018-08-28 15:42:33 +02:00
Kazuaki Matsuo c503f08574 Add csharp sample (#11255)
* add git ignore

* add csharp sample tests

* update readme

* remove comments
2018-08-28 09:21:14 -04:00
Sai Krishna 375dfd2a4a [DOC] Updated java-example DragNDrop to use Point API (#11256)
* Updated java-example DragNDrop to use Point API

https://github.com/appium/appium-espresso-driver/issues/213

* fixed review comments

* Changed Point move durations to milliSeconds and set value to >=600ms for second movePoint
2018-08-28 12:35:41 +05:30
Jonathan Lipps f40bfb8ebe Merge pull request #11263 from appium/isaac-docs
Update some formatting in docs
2018-08-27 19:14:08 -07:00
Isaac Murchie fec5076662 v1.9.0 2018-08-27 13:41:50 -04:00
Isaac A. Murchie 66ae6111d4 Add CHANGELOG for 1.9.0 (#11248)
* Add CHANGELOG for 1.9.0

* Address comments
2018-08-27 13:26:42 -04:00
Isaac Murchie a22ad98d08 Update some formatting in docs 2018-08-27 13:11:43 -04:00
Isaac A. Murchie f80a75fdac Add Tizen as automationName for appium-tizen-driver (#11262) 2018-08-27 10:21:39 -04:00
Isaac Murchie 175bbdaefd 3.5.2 v3.5.2 2018-08-26 13:00:28 -04:00
Dan Graham 88a445364f Double tap documentation fix (#11241) 2018-08-24 10:56:51 -07:00
Mykola Mokhnach e50ef5e6aa Remove the redundant logging from getResponseForW3CError helper (#252) 2018-08-24 16:25:56 +02:00
Kazuaki Matsuo 7b3b836f77 Tweak ruby sample (#11233)
* define spec_helper

* tweak ios default versions
2018-08-24 00:22:10 +09:00
Mykola Mokhnach 7a684d7d80 Add troubleshooting document for Android activities startup (#11239)
* Add troubleshooting  document for Android activities startup
2018-08-23 17:20:13 +02:00
Kazuaki Matsuo cd12ed9a51 Add python sample code (#11208)
* add initial python sample

* add all of ios and android tests

* apply formatter

* add >=0.28 to avoid version error

* tweak versions of default OS

* convert some tests to unittest based ones

* use single quote mainly

* use {} format style for string

* use format syntax

* apply format and tweak assertions

* use is None

* use assert raise

* speficy a number of elements

* tweak exception

* move app path to helper

* tweak assertion conditions

* remove .close since with open() close file automatically
2018-08-22 11:48:58 -07:00
Dan Graham 649c5d43d7 Espresso docs (#11224) 2018-08-22 11:44:44 -07:00
Mykola Mokhnach f909201791 Add JSONWP<>W3C mapping for window/handles endpoint (#251) 2018-08-21 21:50:00 +02:00
Dan Graham bb83735883 Fix typo in /actions (#11222) 2018-08-21 09:04:49 -07:00
Dan Graham 1c840a4383 Add view tag to docs (#11214) 2018-08-21 08:54:22 -07:00
Dan Graham 37dfaac894 Update documentation for 'app' capability (#11215) 2018-08-21 05:19:41 -07:00
Dan Graham 53cf59383f Fix doc to not show XCUI supporting rotate (#11204) 2018-08-20 16:52:24 -07:00
Dan Graham 842e430d65 Actions documentation (#11195) 2018-08-20 14:13:49 -07:00
Dan Graham c82d08d375 Make doc relative (#11207) 2018-08-18 14:04:48 -07:00
Kazuaki Matsuo e0af090903 update ruby sample (#11203) 2018-08-18 09:21:52 +09:00
Dan Graham 34e9840201 Remove broken link (#11205) 2018-08-17 13:43:02 -07:00
Isaac Murchie 4054831929 v1.9.0-beta.1 2018-08-17 15:52:08 -04:00
Isaac Murchie e9c8de449f Fix packweb.json 2018-08-17 15:21:16 -04:00
Isaac A. Murchie 3c13475f7f Fix dependencies (#11201) 2018-08-17 12:01:13 -04:00
Isaac A. Murchie bde00d4116 Add description of chromedriverUseSystemExecutable cap (#11190)
* Add description of chromedriverUseSystemExecutable cap

* Add default to description
2018-08-17 10:26:23 -04:00
Isaac Murchie 49bce64922 3.5.1 v3.5.1 2018-08-15 09:41:06 -04:00
Mykola Mokhnach 5231fae89b Apply additional fixes to timeouts handler (#250)
* Apply additional fixes to timeouts handler

* Address comments

* Update the rest of tests

* Remove unused import

* fix the unit test
2018-08-15 15:26:47 +02:00
Isaac A. Murchie 5e9df93eeb Clean up error message from protocol (#249) 2018-08-15 08:04:14 -04:00
Isaac Murchie 46a78c96df 3.5.0 v3.5.0 2018-08-14 10:06:30 -04:00
Isaac A. Murchie 7a00b3f875 Clean up argument for long stacktraces (#11174) 2018-08-14 06:25:33 -04:00
Mykola Mokhnach b161cb9527 Tune arguments transformation for /timeouts API call (#248)
* Tune arguments transformation for /timeouts API call

* Tune number verification

* Remove unnecessary validator

* Remove obsolete tests
2018-08-14 10:48:19 +02:00
shaikhwaseem 5933479f88 Updates to documentation section to fix Desynchronized documentation for moveTo https://github.com/appium/appium/issues/11069 (#11169) 2018-08-12 13:35:34 +09:00
ThomasFettSauce fabe063a85 Add cap to use a remote debugger proxy (#10960)
* Add two command-line arguments to provide connection data for an optional proxy the iOS remote debugger can use.

* Revert "Add two command-line arguments to provide connection data for an optional proxy the iOS remote debugger can use."

This reverts commit 9beba48cd6.

* Add documentation for the new desired capabilities.

* update docs to reflect only one capability for remoteDebugProxy
2018-08-06 09:43:52 -04:00
Kazuaki Matsuo b90ed154d9 fix raising NotYetImplementedError against commands which exist in image-element (#245)
* fix raising NotYetImplementedError when the element is image-element
2018-08-05 22:37:59 +09:00
Mykola Mokhnach 4ed0c0b3cc Add an optional parameter to /window call (#244)
* Add an optional parameter to /window call

* update the validation

* Use util.hasValue

* Make args to make both protocols happy
2018-08-02 07:53:53 +02:00
Kazuaki Matsuo 91b3c05f89 add device in websocket paths (#11138) 2018-08-01 11:44:52 +09:00
Jonathan Lipps 1bb7a3802a 3.4.0 v3.4.0 2018-07-30 13:24:18 -07:00
Jonathan Lipps ec72948de2 add -image locator strategy and related logic (#235)
* add -image locator strategy and related logic

* use appium-support jimp helper

* handle find multiple elements by image

* update staleness check variable name

* ensure that a settings object always exists so we can rely on global settings always existing too

* only fix template size if user requests it in settings

* add note about implicit wait error handling

* only automatically update image element position if user turns on an appropriate setting

* add setting to control whether we check for image element staleness

* add setting to determine the image element tap strategy (w3c or mjsonwp)

* prefer single quotes

* add setting to turn off screenshot resizing if not desired

* add docstrings (except for cache class which we may not keep)

* address additional review comments

* add better jsdoc arg info

* use lru-cache npm package instead of rolling our own

* use new versino of appium-support

* make sure the lru cache is checking element size correctly

* give better names and tighten up logic around image el tap strategies

* add some unit tests for image elements

* ensure DeviceSettings has a default no-op update method

* check that driver implements action strategies and fall back / throw as appropriate

* finish out image element unit tests

* have basedriver set noop onSettingsUpdate rather than doing it in DeviceSettings

* move route avoidance detection from protocol to driver

* handle proxying actions to downstream drivers during image tap

* tighten up logic for deciding whether to proxy based on presence of image element

* add find by image specs and fix issues that arose in the process

* clean up regexes

* don't try to be smart and proxy actions for drivers; let them set it up themselves to support image elements

* change default match threshold based on experimentation

* export which settings are handled by basedriver so downstream drivers can utilize this information

* make sure to include a duration for the initial pointerMove action

* add docstring to proxyRouteIsAvoided
2018-07-30 13:17:54 -07:00
Kazuaki Matsuo c6c0b28db3 add chrome driver versions and notice for w3c (#11128)
* add chrome driver versions and w3c

* tweak terms
2018-07-30 11:12:22 -04:00
Isaac Murchie f99299a357 3.3.2 v3.3.2 2018-07-27 08:29:50 -04:00
Isaac A. Murchie 855ebe15de Add method to check for unknown error (#242)
* Add method to check for unknown error

* Do not catch and re-throw proxied error

* Fix isUnknownError function and clean up handling
2018-07-26 13:11:47 -04:00
Isaac Murchie 54abe1047c 3.3.1 v3.3.1 2018-07-25 13:26:26 -04:00
Isaac A. Murchie 42f64a87d9 Get message for MJSONWP error (#241)
* Get message for MJSONWP error

* Add comment

* Change parameter, and make work for espresso driver
2018-07-25 13:26:08 -04:00
Isaac A. Murchie e4f5722ab2 Clarify --log-level documentation (#11109) 2018-07-25 12:44:38 -04:00
Isaac Murchie 5face22c10 3.3.0 v3.3.0 2018-07-25 09:30:34 -04:00
Mykola Mokhnach dfae5caf62 Properly handle MJSONWP responses with non-zero status and return code < 400 (#240)
* Properly handle MJSONWP responses with non-zero status and return code < 400

* code 500 looks more appopriate

* Optimize downstream protocol detection

* Update the unit test

* Update errors handling inside proxyReqRes

* Improve the condition
2018-07-25 08:34:45 +02:00