131 Commits
Author SHA1 Message Date
Dan Graham 684ca3621b Add toggle_touch_id_enrollment endpoint (#112)
* Add toggle_touch_id_enrollment endpoint

* Update  hash
2017-03-22 18:54:12 -04:00
Dan Cuellar 3b07636377 Make Mac an accepted platform 2017-03-16 09:22:27 +00:00
Jonathan Lipps 9a7c6de17d ensure we log events in a debug fashion at least 2017-03-03 14:37:38 -08:00
Jonathan Lipps d75bde2a0e add event timing framework to base driver 2017-03-03 13:41:02 -08:00
Mykola Mokhnach d5ffe5773a Add proxy method to verify whether it has a request in progress and to cancel active requests (#105) 2017-02-21 08:49:43 -05:00
Mykola Mokhnach a6e522d619 Add helper method for matching endpoints and method names to command names (#104) 2017-02-15 07:39:07 -05:00
Kazuaki MATSUO d62d336357 update required an optional parameters for getting performance 2017-02-01 08:47:49 +09:00
Jonathan Lipps 0ad8e49b8e error out if someone tries to use both fullReset and noReset together 2017-01-31 14:17:36 -08:00
Max Hawkins 4b62dac30b Default to application/json when no Content-Type is supplied
The webdriver spec specifies that requests where the method is POST
should be parsed as JSON (see https://www.w3.org/TR/webdriver/#processing-model step 6).

Appium is too restrictive. It only parses as JSON if the application/json
Content-Type is provided, making it incompatible with some Webdriver clients
that follow the spec but don't send a Content-Type header.

This commit makes Appium less restrictive by defaulting to the application/json
Content-Type if none is provided.
2017-01-21 14:46:11 -06:00
Isaac Murchie bb1f869ca9 Add configurable request timeout to proxy 2017-01-04 12:48:22 -05:00
Isaac A. Murchie eb5abb8878 Merge pull request #97 from appium/isaac-logger
Remove logger, and start using one from appium-support
2016-12-21 15:20:56 -05:00
Isaac Murchie 1de1af6b0c Remove logger, and start using one from appium-support 2016-12-20 12:55:23 -05:00
Isaac Murchie 65807af9fc Do not keep adding sessionId and id to optional parameters 2016-12-20 10:37:23 -05:00
Jonathan Lipps 55fa89153e Merge pull request #93 from appium/isaac-logger
Move appium-logger into base driver
2016-11-24 11:01:40 -08:00
Isaac Murchie d2c5caafd4 Move appium-logger into base driver 2016-11-23 09:15:38 -08:00
황희선 0fd67e4efb add apis to read capability data 2016-11-19 03:09:49 +09:00
Isaac A. Murchie f09b0eb2de Merge pull request #88 from midopa/fix-zip-urls
Fix handling non-ZIP files
2016-11-14 14:41:21 -05:00
Sam Park 71be0dad1a Add routes and docs for device commands
For: https://github.com/appium/appium-android-driver/pull/192
2016-11-14 10:50:29 -08:00
Sam Park 40a9538321 Fix handling non-ZIP files
APK files were not being installed because they were being written to a file without an "apk" extension. So added back the appExt suffix logic. If it's given and the downloaded file is not a ZIP file, then everything behaves normally. If the downloaded file is a ZIP file, then regardless of what we thought initially, it will be unzipped and placed into another temp location.
2016-11-11 23:21:02 -08:00
rkavalap 0e8b1d966e Increase length in _truncate for proxy requests for better debugging 2016-11-10 09:36:54 -08:00
Sam Park 44650f926a Handle zip files from URLs
Sometimes you can't tell the file type from a URL. Let URL minimizers or
if there are parameters, etc. So just check the content type of the
response. If it's a zip file, ensure it gets unzipped in subsequent
logic. Otherwise, assume it's an app file.
2016-11-05 13:01:25 -07:00
Isaac A. Murchie d20dfc9687 Merge pull request #84 from appium/isaac-tmpdir
Make use of os.tmpdir instead of os.tmpDir
2016-10-31 18:55:47 -07:00
Isaac Murchie 5f84cc8cf1 Make use of os.tmpdir instead of os.tmpDir 2016-10-31 12:07:03 -07:00
Isaac Murchie e1f1883363 Add capabilities to create session 2016-10-28 09:10:29 +02:00
Isaac Murchie 6f289078cd Fix truncate length 2016-10-19 12:18:48 -04:00
Isaac Murchie 76efb2428f Proper length handling 2016-10-17 14:04:44 -04:00
Isaac Murchie 6be9493240 Extent the length of the proxy req/res we log 2016-10-14 09:13:57 -04:00
Isaac Murchie 3368192456 Use keep-alive connection for proxying 2016-09-30 15:17:53 -04:00
Isaac A. Murchie 7af4333f9e Merge pull request #75 from yaphatak/copyfromwindowsshare
Copy from WindowsNetworkShare
2016-09-16 12:35:50 -04:00
Yatin Phatak 9b746ae23a Copy from WindowsNetworkShare
addressing comments

calling mountNetwrokShare once

addressing comments

addressing comments
2016-09-14 13:24:11 -07:00
Isaac Murchie 931ea9f06d Give a long timeout on proxy 2016-09-14 12:31:34 -04:00
Ali Kia 725d12ec2d adding fingerprint to routes 2016-09-12 10:32:09 +08:00
Isaac A. Murchie 8bd05f3e76 Merge pull request #73 from wfanforever/master
adding rect routes
2016-09-09 14:05:10 -04:00
Wen Fan d4e5b45544 adding new endpoint 2016-09-09 10:21:20 -07:00
Isaac A. Murchie c6062c559c Merge pull request #66 from sravanmedarapu/master
Implemented throwing ProxyRequestError
2016-09-09 08:33:48 -04:00
Sravan Medrapu c5026bf227 Implemented throwing ProxyRequestError
ProxyRequestError will be thrown for all unsuccessfull proxy requests, ProxyRequestError will contain the actual error route cause information(`jsonwp`)
2016-09-09 16:17:24 +05:30
Isaac Murchie 7e9403c488 Allow guinea pig delay to be in query 2016-08-11 08:59:03 -07:00
Rafael Chavez 3fc88e0ffd added rotation routes 2016-07-19 12:49:03 -07:00
Isaac Murchie 0df402b1b2 Add linting and pre-commit hooks 2016-07-12 09:48:01 -07:00
Isaac A. Murchie 6f6b1f211c Merge pull request #63 from sravanmedarapu/master
Refactored mjsonwp with respect to UiAutomator2Driver functionality
2016-07-12 07:48:22 -07:00
Sravan Medrapu 5323a51a0e Refactored mjsonwp to throw error for non zero status codes 2016-07-12 12:44:05 +05:30
Isaac Murchie b883d8601b Add basic getStatus method 2016-07-08 09:21:29 -07:00
Isaac A. Murchie b1576be84d Merge pull request #61 from appium/isaac-routes
Begin adding W3C route alternatives
2016-07-06 10:52:16 -07:00
Isaac Murchie 7d1d2fae63 Begin adding W3C route alternatives 2016-07-06 08:15:58 -07:00
Yosef Durr 8c5d7dbfa5 add Windows platform, fix utf-8 typo 2016-07-03 17:07:57 -07:00
Isaac Murchie e44ed397f6 Add ability to manage delegated drivers 2016-07-01 09:15:33 -07:00
Isaac Murchie d534bb151f Make sure async is there, and add logging 2016-06-28 13:00:47 -07:00
Isaac Murchie e8bd69e433 Change name of xcuitest automation name 2016-06-28 10:32:19 -07:00
Simon Granger 59f2cf1c29 Added YouiEngine to the list of automationName 2016-06-27 15:34:37 -04:00
Isaac Murchie 6086ae0b29 Make sure the server is closed when we call close 2016-06-22 08:16:36 -07:00