Compare commits

..
194 Commits
Author SHA1 Message Date
Kazuaki Matsuo 1f2f15b49f Update update-appium-io.yml for Azure Pipelines 2023-05-01 18:56:45 -07:00
Kazuaki Matsuo a4e9c5c240 docs(1.x): Adds deprecation messages for appium.github.io/appium.io (#18591)
* docs: add appium.io in the api.md path as a workaround

* docs: add links to appium 2 related as workarounds
2023-05-01 18:54:35 -07:00
Kazuaki Matsuo 29ed21702c docs: add note about Appium 2.0 (#18120) 2023-01-30 10:56:19 -10:00
Kazuaki Matsuo 166eec216d docs(1.x): insert a note for uia2 driver github url (#17822)
* docs(1.x): insert a note for uia2 driver github url

* fix typo
2022-11-27 18:48:57 +09:00
Riley 7c70550c81 Update getting-started.md 2022-11-03 14:58:50 -07:00
Kazuaki Matsuo 127aa34fa3 docs (1.x): tweak elements (#17703) 2022-11-02 09:19:15 -07:00
Kazuaki Matsuo 3ac8cb2c2f docs: add a message about Appium 1 and 2 in the getting started (#17661) 2022-10-27 15:31:05 +09:00
Kazuaki Matsuo 81504a11a2 docs: refer to GitHub page instead to not keep unmaintained docs (#17609) 2022-10-17 22:45:50 -07:00
btimbermont ef757421e1 docs: Expand documentation on connecting to the correct Android device (#17512) 2022-09-22 10:23:07 -07:00
Appium Triager 7d014473ca docs: Update generated docs [ci skip] (#17476) 2022-09-13 01:11:05 -07:00
Kazuaki Matsuo d5da27af25 docs: fix typo in 1.x branch (yml) (#17475) 2022-09-13 00:50:41 -07:00
Appium Triager 61f7dc898c Update generated docs [ci skip] (#17443) 2022-09-01 13:17:09 -07:00
Kazuaki Matsuo a5d8ba7f8b docs: fix typo in 1.x branch (#17442) 2022-09-01 12:12:59 -07:00
Appium Triager 850bd1c949 Update generated docs [ci skip] (#17267) 2022-07-26 17:54:17 +09:00
Kazuaki Matsuo 0d261b9a41 docs: add appium prefix in webdriverio for 1.x branch (#17264)
* add appium prefix in webdriverio

* add appium prefix in jp as well
2022-07-26 16:17:37 +09:00
Kazuaki Matsuo 3b9811f5ad docs: remove git checkout 1.x in update-appium-io 2022-07-24 17:59:33 -07:00
Kazuaki Matsuo 07cc1675c5 docs: update 1.x branch for appium.io for now yet (#17263)
* update 1.x docs

* change some repository branches

* update a bit
2022-07-25 09:38:10 +09:00
Christopher Hiller 9ecccfbee5 chore(renovate): add supports-color to major version exclusion list 2022-06-30 13:14:11 -07:00
Christopher Hiller e113cc30f6 chore(renovate): add strip-ansi to list of ignored modules 2022-06-16 13:43:25 -07:00
Christopher Hiller bb9454fcc5 chore(renovate): ignore appium test fixtures 2022-06-16 13:43:25 -07:00
Appium Triager 61bcc3d820 docs: Update generated docs [ci skip] (#17052) 2022-06-10 22:32:07 -07:00
ian zhang 87d8c7e130 docs(appium): Update ChromeDriver Mirror (#17046)
The taobao mirror will be decommission since June 30, so update the mirror as latest version
2022-06-10 11:49:21 -05:00
Naveen 1724c690bd chore: renovate bot setting to pin actions to a full length commit SHA
- https://docs.renovatebot.com/modules/manager/github-actions/#additional-information

- Pinned actions by SHA https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies

>Pin actions to a full length commit SHA

>Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
> Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository,
> as they would need to generate a SHA-1 collision for a valid Git object payload.

- https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
- https://github.com/renovatebot/.github/blob/b0c3aa85ef2bb242580f20b02b380ca532b4ce17/default.json#L13
2022-06-01 10:06:23 -07:00
ian zhang c459136d67 docs: Update find elements reference (#16968)
* Update find elements reference

As Selenium part move the source to official place, update Appium as latest version.

* Update find element reference

As Selenium part move the source to official place, update Appium as latest version.
2022-05-23 09:04:46 +09:00
python-zys 0cf90e6cab docs: Update get.yml (#16949) 2022-05-22 15:32:10 +09:00
Christopher Hiller 3a94348712 chore(renovate): re-enable automerge of production deps 2022-05-17 11:48:37 -07:00
Sergio Borghese 3a6b160ba3 docs: add import statement for W3C ActionChains (#16910) 2022-05-07 15:42:00 +02:00
Christopher Hiller 89d2c4406a chore(renovate): update renovate configuration
1. Automerging is not actually happening, but we probably do not want to automerge production dependencies, so restrict to dev deps.
2. Blacklist some package names which we will not upgrade to a new major (we may not be using some of these).  These are packages published as ESM-only.
3. Enable upgrading of transitive dependencies to mitigate seurity issues.

I do not think 1 nor 3 will work without a `package-lock.json`, so these depend on #16553.
2022-05-04 18:10:13 -07:00
Mykola Mokhnach b39408f019 chore: Update issue reporting template with the Appium1 deprecation note (#16866) 2022-04-28 07:18:31 +02:00
Umut df14eb8d88 docs: Python documentation deprecated functions fix (#16845)
* Changed deprecated command

* Changed deprecated command

* Changed deprecated command
2022-04-23 16:55:44 +09:00
Umut d0f2301672 docs: find_element_by_accessibility_id is deprecated in Python (#16766) 2022-04-14 15:35:25 +09:00
Mykola Mokhnach 35c1adebaf chore: Add #StandWithUkraine banner (#16731) 2022-04-07 19:55:34 +02:00
Philipp Lehmann f3c0efe466 fixing documentation: --async-trace -> --long-stacktrace
See release notes for 1.9: https://github.com/appium/appium/releases/tag/v1.9.0
2022-03-28 11:30:34 -07:00
Appium Triager 5f15971b63 docs: Update generated docs [ci skip] (#16671) 2022-03-28 02:25:52 +09:00
Kazuaki Matsuo 458c596e9f docs: address semantic-release in appium release (#16667) 2022-03-28 02:10:32 +09:00
Ramesh A 7f0aca8e14 docs(appium): Updated the type error of word "changing" (#16642) 2022-03-23 11:57:53 -07:00
ourshiningdays de32dec536 docs(appiupm): Update find-elements.yml (#16608)
Python: is "find_elements" should be used to search for multiple elements instead of "find_element"?
2022-03-22 15:30:07 -07:00
Kazuaki Matsuo 292a7751c6 docs: update changelog for 1.22.3 (#16617)
* docs: update changelog for 1.22.3

* Update CHANGELOG.md
2022-03-21 06:11:33 +09:00
Salih Gumus 39c1b3732f docs(appium): fix usage of buffer in wdio example (#16591)
Old usage has become deprecated
2022-03-17 13:03:26 -07:00
Kazuaki Matsuo 6968c92612 ci: bump macOS version to latest in bundle-template (#16546) 2022-03-10 11:33:08 -08:00
Appium Triager f9eca96dfa Update generated docs [ci skip] (#16547) 2022-03-10 17:50:43 +09:00
Kazuaki Matsuo 9daaaee36a docs: add foreground for set clipboard (#16532)
* docs: add foreground for set clipboard

* docs: tweak
2022-03-08 18:02:26 +09:00
Kazuaki Matsuo 54819d9b20 docs: remove cloud service names to not address particular service 2022-03-02 14:19:17 +01:00
Appium Triager f592577cdd Update generated docs [ci skip] (#16507) 2022-02-27 08:44:50 +09:00
Kazuaki Matsuo b5d49f470e ci: use latest in auto docs gen (#16506) 2022-02-27 08:29:21 +09:00
Kazuaki Matsuo f29272cab4 docs: address min nodejs ver (#16504) 2022-02-27 07:50:19 +09:00
Kazuaki Matsuo 42e70d4775 docs: update active element endpoint support devices (#16473) 2022-02-21 17:21:27 +09:00
Mykola Mokhnach aa3665aa91 chore: Disable dependabot (#16451) 2022-02-15 12:09:59 +01:00
Connor King 1ee8b77d75 fix report_to_sauce being called unconditionally (#16312) 2022-02-11 13:56:30 +01:00
ian.zhang 4caf92338e docs(appium): Update appium-from-source.md on NVM link (#16392)
As NVM mentioned,  currently, the sole maintainer is ljharb. So update the link of the project under official organization.

Reference:
https://github.com/nvm-sh/nvm#maintainers
2022-02-04 13:26:32 -08:00
Kazuaki Matsuo 8d8b9e8be2 ci: bump vmImage macOS version to 10.15 (#16338) 2022-01-14 15:36:06 -08:00
Kazuaki Matsuo 703911dc2a docs: address subdirectory in pull_folder (#16335)
* docs: address sub folder in pull

* Update ios-xctest-file-movement.md
2022-01-14 09:44:14 -08:00
Mykola Mokhnach 53bb07c9af chore: Revert "chore: Bump appium-mac2-driver from 0.14.1 to 1.0.1 (#16307)" (#16318)
This reverts commit 7b5a0a8f67.
2022-01-10 12:15:51 +01:00
dependabot[bot] 7b5a0a8f67 chore: Bump appium-mac2-driver from 0.14.1 to 1.0.1 (#16307)
Bumps [appium-mac2-driver](https://github.com/appium/appium-mac2-driver) from 0.14.1 to 1.0.1.
- [Release notes](https://github.com/appium/appium-mac2-driver/releases)
- [Commits](https://github.com/appium/appium-mac2-driver/compare/v0.14.1...v1.0.1)

---
updated-dependencies:
- dependency-name: appium-mac2-driver
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 16:22:36 +09:00
Appium Triager 83a09acf9a docs: Update generated docs [ci skip] (#16290) 2021-12-31 17:46:51 +09:00
Kazuaki Matsuo 508480e506 docs: remove javascript_wd in start recording screen (#16288) 2021-12-31 17:04:30 +09:00
Kazuaki Matsuo 23db9cccec docs: add Deprecated in wd client (#16289) 2021-12-31 17:04:12 +09:00
Kazuaki Matsuo eb500e70d0 cods: update version in clickGesture (#16283) 2021-12-31 03:53:20 +09:00
Appium Triager 501eebe713 Update generated docs [ci skip] (#16276) 2021-12-26 08:47:09 -08:00
Kazuaki Matsuo 346cfb0048 docs: add grid 4 (#16275)
* docs: add grid 4

* Update grid.md
2021-12-26 18:40:37 +09:00
Kazuaki Matsuo 904798c402 chore: update changelog for appium 1.22.2 (#16256)
* chore: update changelog for appium 1.22.2

* update changelog

* Update CHANGELOG.md
2021-12-24 06:55:41 +09:00
Kazuaki Matsuo 0a144678eb docs: fix lint (#16253) 2021-12-16 06:08:57 +01:00
Julio Bardcrack 2315276523 docs: Python sentence is updated (#16252)
In the new version appium change the way find elements
2021-12-16 11:13:23 +09:00
Joshua Pinter 800b05a02b docs: startRecordingScreen() not available on Javascript (#15426) 2021-12-15 09:54:11 +01:00
Kazuaki Matsuo 6bc62cbf37 docs: address xpath in uia2 (#16150)
* docs: address xpath in uia2

* Update CHANGELOG.md
2021-12-12 01:48:55 +09:00
Kazuaki Matsuo c1fc51ee33 docs: update android sections in caps (#16241)
* docs: modify caps

* Update caps.md
2021-12-12 01:48:38 +09:00
Ikko Ashimine 73dd44cf96 Fix typo in appium-packages.md
accross -> across
2021-12-07 16:32:52 -08:00
Kazuaki Matsuo 8b7941c434 docs: update a jailbroken device section (#16214)
* docs: update a jailbroken device section
2021-12-08 00:59:44 +09:00
Benjamin Altpeter 44985b2817 docs: Mention -allowProvisioningUpdates flag in XCUITest docs for real devices (#16212) (#16215) 2021-12-07 15:05:55 +09:00
Kazuaki Matsuo b9d42c2e77 docs: address appium version in ideviceinstaller (#16174)
* docs: address appium version in ideviceinstaller

* Update ios-xcuitest-real-devices.md
2021-11-29 17:43:23 +09:00
Kazuaki Matsuo 39fe6e0cf6 docs: update badges in readme (#16170) 2021-11-29 17:27:03 +09:00
Kazuaki Matsuo 6c5577778a docs: add environment about APPIUM_PREFER_SYSTEM_UNZIP (#16090)
* docs: add environment about APPIUM_PREFER_SYSTEM_UNZIP

* Update server-args.md

* Update server-args.md
2021-11-18 14:29:40 +09:00
Kazuaki Matsuo cdf36ecd16 chore: changelog 1.22.1 (#16002)
* chore: add changelog for 1.22.1
2021-11-16 15:47:39 +09:00
Appium Triager 2680294008 docs: Update generated docs [ci skip] (#16047) 2021-11-08 03:28:57 +09:00
Kazuaki Matsuo 250969e1b0 docs: address bundletool version (#16046)
* docs: address bundletool version

* Update android-appbundle.md
2021-11-07 05:05:40 +09:00
Kazuaki Matsuo b5f24ffa35 docs: tune w3c actions in Ruby (#16029) 2021-11-01 09:55:00 +09:00
Appium Triager fc279ad8cf docs: Update generated docs [ci skip] (#16027) 2021-10-29 16:34:04 -07:00
Mykola Mokhnach 248c6effc8 docs: Document mobileClick extension for UIA2 driver (#16023) 2021-10-29 20:55:33 +02:00
Kazuaki Matsuo 5ee1268004 docs: add Deprecated in touch actions (#16004)
* docs: add Deprecated in touch actions

* Update multi-touch-perform.yml

* Update touch-perform.yml
2021-10-26 02:36:09 +09:00
Kazuaki Matsuo 97f8919025 docs: tweak explanation of file management in xcuitest (#15966)
* docs: tweak explanation of file managemenet in xcuitest

* address UIFileSharingEnabled
2021-10-15 10:26:48 -07:00
Kazuaki Matsuo b2415a0872 chore: bump appium beta version to 1.23 (#15925) 2021-10-04 16:07:15 +09:00
Long Nguyen d4b09a82eb docs: Update parallel-test.md in case using ChromeDriver (#15909) 2021-09-28 11:30:42 +02:00
Kazuaki Matsuo 84c06e40f5 chore: changelog for 1.22 (#15640)
* chore: create changelog space for 1.22

* tweak a bit

* fix typo, review

* add imageMatchMethod, windows driver stuff

* add xcuitest

* fix review

* add android

* add appium-adb

* add appium-adb#572

* add diff between rc0 and rc1

* apply rc2 changes, add 1.x EOL link

* update changelog for rc3

* update changelog for rc4

* update changelog for rc6

* update uia2
2021-09-22 14:05:15 +09:00
Appium Triager 49b18becf1 docs: Update generated docs [ci skip] (#15862) 2021-09-17 16:19:09 -07:00
snowron c38aa844e7 docs: fix typo at caps page (#15859) 2021-09-17 14:18:29 -07:00
Jonathan Lipps d38943648f chore: update renovate to pin all deps for 2.0 2021-09-10 10:55:43 -07:00
Jonathan Lipps d65c0af77d ci: ensure commits made by ci map to github users 2021-09-09 09:47:18 -07:00
Andrew Gabriel 1bcc5f1a2b docs: Add info about enabling biometric API for touch id usage (#15798) 2021-09-02 16:57:47 +09:00
deepakforct 253a2939e8 docs: update touch-perform.yml (#15782)
updated "driver.touchPerform" method for javascript wdio as it doesn't work without having a wait action between "press" and "moveTo" action.
2021-08-28 06:09:57 +09:00
Leo Booth b8c76033b4 docs: fix spelling error in ios-xcuitest.md (#15772) 2021-08-21 15:23:38 +09:00
Kazuaki Matsuo 7d5a5d1563 docs: add a link for troubleshooting in android (#15732) 2021-08-17 05:31:43 +09:00
Kazuaki Matsuo 700a8ac550 docs: add a link to w3c actions (#15730)
* docs: add a link to w3c actions

* Update swipe-tutorial.md
2021-08-17 02:34:35 +09:00
Jonathan Lipps 4680494403 chore: update renovate so that it automerges all except major updates 2021-08-11 11:33:16 -07:00
Appium Triagerandrunner 1efa0a1786 docs: Update generated docs [ci skip] (#15704)
Co-authored-by: runner <runner@Mac-1628453453384.local>
2021-08-09 08:24:10 +09:00
Kazuaki Matsuo e5c17ffc03 docs: fix broken links for appium.io (#15703) 2021-08-09 08:19:48 +09:00
Kazuaki Matsuo 7d264ad63b docs: fix typo 2021-08-04 17:29:10 +09:00
Kazuaki Matsuo 3c53726062 docs: add alternatives of iproxy (#15679)
* docs: add alternatives in wda custome server

* tweak

* tweak

* Update wda-custom-server.md
2021-08-04 06:06:11 +09:00
Appium Triagerandrunner e4f23504a8 docs: Update generated docs [ci skip] (#15659)
Co-authored-by: runner <runner@Mac-1627224935989.local>
2021-07-25 14:07:53 -07:00
Kazuaki Matsuo 8a3e6d953d docs: address XCUIElementTypeSecureTextField behavior in send keys (#15657) 2021-07-25 09:54:35 -07:00
Kazuaki Matsuo f831abe6ae docs: update settings commands in Ruby and C# (#15656) 2021-07-25 08:22:26 +02:00
dependabot[bot] 81fd737efa chore: Bump sinon from 10.0.1 to 11.1.1 (#15431)
Bumps [sinon](https://github.com/sinonjs/sinon) from 10.0.1 to 11.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v10.0.1...v11.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 22:14:52 +02:00
dependabot[bot] a5964b083f chore: Bump npmlog from 4.1.2 to 5.0.0 (#15653)
Bumps [npmlog](https://github.com/npm/npmlog) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/npm/npmlog/releases)
- [Changelog](https://github.com/npm/npmlog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/npmlog/compare/v4.1.2...v5.0.0)

---
updated-dependencies:
- dependency-name: npmlog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 14:14:02 +02:00
Dan Foad 778d9e21c2 chore: Bump appium-youiengine-driver from 1.2.8 to 1.2.9 (#15646) 2021-07-19 09:12:07 -07:00
Kazuaki Matsuo 59715c658a chore: remove ./scripts/release.sh from release-branch.sh to avoid accidental release (#15639) 2021-07-18 13:56:14 +09:00
Johan Lundstroem 0651bf8220 docs: Removed tiny typo from get-log.yml (#15614)
No ; in Python (that is all)
2021-07-07 15:42:33 -07:00
Kazuaki Matsuo 5dbcc3f48a Revert "chore: try out issue template feature in yml instead of plain markdown (#15605)" (#15612)
This reverts commit 4213532815.
2021-07-07 06:04:30 +09:00
Kazuaki Matsuo 4213532815 chore: try out issue template feature in yml instead of plain markdown (#15605)
* chore: try to use issue_report.yml instead of plain markdown

* tweak placeholder
2021-07-07 05:42:12 +09:00
Kazuaki Matsuo 94be80697c docs: add description in get clipboard for ios (#15582)
* docs: add description in get clipboard for ios

* tweak description

* docs: tweak review
2021-06-27 17:39:36 +09:00
Appium Triagerandrunner 96c215c81e docs: Update generated docs [ci skip] (#15569)
Co-authored-by: runner <runner@Mac-1624421148213.local>
2021-06-27 17:33:06 +09:00
youngfree c28452e206 doc[cn]: the doc of drives. (#15561)
* doc/cn: add driver/android-uiautomator2.md and modify toc.js (part of UIAutomator2 Android)

* doc/cn: add driver/ios-xcuitest.md and modify toc.js (part of XCUITest)

* modify the interpretation of driver

* doc/cn: add driver/ios-xcuitest-real-devices.md and modify toc.js (part of XCUITest Real Devices (iOS))

* modify
2021-06-23 13:25:08 +09:00
Jonathan Lipps 5097032cb0 chore(deps): attempt to avoid pinning main deps 2021-06-15 08:22:15 -07:00
Jonathan Lipps eed23ec179 chore(deps): don't pin global deps 2021-06-11 08:37:36 -07:00
87c33f4af1 chore: Configure Renovate (#15480)
* Add renovate.json

* chore(deps): make renovate use the 2.0 branch only

* chore(deps): tell renovate not to keep sample-code deps updated

* chore(deps): tell renovate to use parent dirname as scope

* chore(deps) more renovate config

* chore(deps): renovate auto range

* chore(deps): force semantic commits on

* chore(deps): set renovate timezone

* chore(deps): force commit type to chore

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jonathan Lipps <jlipps@gmail.com>
2021-06-10 08:51:58 -07:00
dependabot[bot] 020d58bfde chore: Bump mocha from 8.4.0 to 9.0.0 (#15477)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 18:50:55 +02:00
merrill-kashiwabara-bose 30125e1bb7 docs: fix cut-and-paste error in 'Get Log Types' description. get-log-types.yml (#15465)
Wrong description: current description is for 'Get Logs'.
2021-06-04 11:10:32 -07:00
Appium Triagerandrunner 83f9a229ec docs: Update generated docs [ci skip] (#15407)
Co-authored-by: runner <runner@Mac-1621621685489.local>
2021-05-24 10:09:39 +09:00
Mykola Mokhnach 5034563a65 docs: Avoid unnecessary duplication in extensions documentation (#15406) 2021-05-21 20:47:09 +02:00
Kazuaki Matsuo 51fb442dc4 docs: fix typo in get settings in python (#15375) 2021-05-13 16:56:39 +09:00
Appium Triagerandrunner fbff369908 docs: Update generated docs [ci skip] (#15370)
Co-authored-by: runner <runner@Mac-1620835583584.local>
2021-05-12 12:25:42 -07:00
Kazuaki Matsuo a177e686b7 docs: add imageMatchMethod (#15362)
* docs: add imageMatchMethod

* Update image-elements.md
2021-05-13 01:20:24 +09:00
Jhon Delgado 4c3275040e docs: typo in executeAsync doc (#15369) 2021-05-13 01:19:15 +09:00
Appium Triagerandrunner a0e276b13e docs: Update generated docs [ci skip] (#15351)
Co-authored-by: runner <runner@Mac-1620634473792.local>
2021-05-10 17:43:26 +09:00
Kazuaki Matsuo 4f38f5d618 docs: remove php more, remove objective-c stuff (#15350)
* docs: remove php more, remove objective-c stuff

* remove Objective-C
2021-05-10 17:25:12 +09:00
Appium Triagerandrunner f88b667d75 docs: Update generated docs [ci skip] (#15349)
Co-authored-by: runner <runner@Mac-1620631271561.local>
2021-05-10 16:26:57 +09:00
Kazuaki Matsuo 54307c91fd chore: Remove php from .yml files and a few .md files which do not autogenerated ones (#15345)
* remove php stuff

* remove php sample code

* remove php stuff

* remove php more
2021-05-10 16:03:11 +09:00
Kazuaki Matsuo b8d7153499 chore: Add beta in release steps (#15346)
* add to create a beta

* append a line to create the next beta

* tix typo
2021-05-10 09:34:26 +09:00
Appium Triagerandrunner 8e4f4f944e docs: Update generated docs [ci skip] (#15344)
Co-authored-by: runner <runner@Mac-1620507065329.local>
2021-05-09 07:26:40 +09:00
Kazuaki Matsuo 5713e4ac73 docs: cleanup appium clients (#15334) 2021-05-09 06:57:25 +09:00
jvdeijnden e7d917929c docs: fix page reference (#15323) 2021-05-04 11:22:25 -07:00
Kazuaki Matsuo 7d14e60e60 chore: add release-latest script (#15316)
* chore: add release-latest

* add sh
2021-05-04 13:00:03 +09:00
Kazuaki Matsuo cc2271f9b1 docs: update changelog for 1.21.0 (#15298)
* chore: add 1.21

* update xcuitest

* add find by images, tweak xcuitest

* add lines for uia2

* add espresso and android

* fix typo

* fix review, add other drivers, add user names

* fix typo

* tweak review

* docs: address flutter driver version

* fix typo
2021-05-02 15:16:51 +09:00
Kazuaki Matsuo af3063b5ac chore: replace a new demo apk (#15290) 2021-04-22 15:15:53 +02:00
Dan Foad db4c057cf8 feat: update appium-youiengine-driver to 1.2.8 (#15282) 2021-04-20 14:58:44 -07:00
Kazuaki Matsuo 1f8a7981d5 docs: fix urls in support platforms (#15278) 2021-04-18 17:46:36 +09:00
Carmelo Buelvas 1e30207ec4 feat: Add WebOS Driver (#15260)
* Add WebOS Driver

* Update appium.js
2021-04-11 17:54:05 +09:00
Kazuaki Matsuo 6040817982 chore: add renamed scripts/release.sh in d9bb604 and troubleshooting (#15258)
* chore: add renamed scripts/release.sh in d9bb604

* add troubleshooting for accidental publishment

* remove new lines

* fix typo

* fix review
2021-04-08 11:25:09 +09:00
Kazuaki Matsuo f7f6e72ca7 chore: remove phonegap since the URL no longer worked (#15259)
* chore: remove Phonegap from readme since it returned 403

* fix typo
2021-04-08 11:10:47 +09:00
dependabot[bot] fcfa7151e3 chore: Bump sinon from 9.2.4 to 10.0.0 (#15213)
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.4 to 10.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.2.4...v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 13:54:14 +09:00
Frederick Engelhardt f5d0045014 docs: update android-shell.md with javascript example (#15241)
Add javascript example. Took me ~2hrs to figure out this syntax. Hopefully this helps someone else!
2021-04-01 15:18:42 +09:00
Appium Triagerandrunner bae236aae5 docs: Update generated docs [ci skip] (#15235)
Co-authored-by: runner <runner@Mac-1617127159463.local>
2021-03-31 16:08:08 +09:00
Berolfingen 1905b2ac85 docs: remove a duplicated capability (#15228)
* Update caps.md

"udid" capability is already mentioned in "iOS Only" block that is correct.

* Update caps.md
2021-03-31 08:54:03 +09:00
Carmelo Buelvas 29f7f9e741 feat: Add Roku driver (#15227) 2021-03-30 19:36:09 +02:00
Mykola Mokhnach 5dbb9a403b fix: Cleanup the logsink before closing the server (#15207) 2021-03-22 06:21:59 +01:00
Appium Triagerandrunner 10373683d9 docs: Update generated docs [ci skip] (#15208)
Co-authored-by: runner <runner@Mac-1616353323838.local>
2021-03-22 10:24:27 +09:00
Sam Yamashita 7d0832ed59 docs: Change a method instruments → xctrace (#15193) 2021-03-21 22:08:01 +01:00
dependabot[bot] bfe01b344b chore: Bump webdriverio in /sample-code/javascript-webdriverio (#15198)
Bumps [webdriverio](https://github.com/webdriverio/webdriverio) from 6.12.1 to 7.2.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.12.1...v7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 19:30:42 -07:00
mwakizaka eb2c7aaf1b docs: fix http method (#15191) 2021-03-14 11:42:15 +09:00
Mykola Mokhnach ae4b1fa917 fix: Add Linux to platforms mapping (#15183) 2021-03-11 19:52:03 +01:00
Appium Triagerandrunner 12dc5cf652 docs: Update generated docs [ci skip] (#15162)
Co-authored-by: runner <runner@Mac-1614847130465.local>
2021-03-04 18:07:31 +09:00
Kazuaki Matsuo 562e1d52c4 docs: add only 1.20- for xcuitest in real devices (#15158)
* docs: add only 1.20- for xcuitest in real devices

* split shell script into two parts

* Update ios-xcuitest-real-devices.md
2021-03-04 17:39:51 +09:00
Andrew Gabriel 78bd23abcb chore: javascript-webdriverio mocha timeout fix in sample (#15149)
* Remove mocha.opts

* Define mocha timeout flag in package.json
2021-03-01 21:17:49 -08:00
Kazuaki Matsuo 0b9e80f9ac docs: update method in get active element (#15133)
* docs: update method in get active element

* Update active.yml
2021-02-24 16:57:22 +09:00
Mykola Mokhnach 48726516d0 docs: Add appWaitForLaunch solution description (#15126) 2021-02-22 21:10:08 +01:00
Appium Triagerandrunner 92bf2ca065 docs: Update generated docs [ci skip] (#15120)
Co-authored-by: runner <runner@Mac-1613608033541.local>
2021-02-18 10:11:59 +09:00
Kazuaki Matsuo f40a2070ba docs: replace table to each link (#15117) 2021-02-17 10:02:55 -08:00
Kazuaki Matsuo ac3059b662 docs: remove a 404 link (#15107) 2021-02-12 16:57:33 +09:00
Kazuaki Matsuo ef966aa862 chore: bump minimum node version to 12, npm 6.9 (#15000) 2021-02-12 08:39:24 +01:00
Mykola Mokhnach 024aab3f45 docs: Document doubleClick uia2 gesture (#15106) 2021-02-12 08:37:52 +01:00
Mykola Mokhnach 1e8b1e361c fix: Properly handle updates for modules with major version zero (#15104) 2021-02-11 19:23:24 +01:00
blane1988 a539a56130 docs: fix typo of Appium (#15075) 2021-02-02 02:45:54 +09:00
Kazuaki Matsuo f25bb663a2 chore: bump version (#15069) 2021-01-31 11:33:01 +09:00
LionFat 8667777b01 docs: Update hybrid.md (#15070)
Ruby symbol copy-pasted to python example. CSS locator type in python is specifying either by a constant (By.CSS) or by a string (css).
2021-01-31 02:11:37 +09:00
Kazuaki Matsuo 2835b953be docs: update recent added japanese resource (#15066) 2021-01-28 10:59:23 +09:00
Kazuaki Matsuo 974a8c3891 chore: Update sample in Ruby (#15062)
* docs: tweak platform-support in readme and platform-support page

* add you.i and flutter

* add section, tweak gecko, review

* test: update ruby sample

* fix android

* update readme

* remove unused gem
2021-01-27 17:45:04 +09:00
Kazuaki Matsuo d37090e67e docs: update support platform (#15053)
* docs: tweak platform-support in readme and platform-support page

* add you.i and flutter

* add section, tweak gecko, review
2021-01-26 07:40:48 +09:00
Yuuki EbiharaandKazuaki Matsuo 297d70f70a docs: add translation into Japanese (#15048)
* translate introduction into japanese.

* translate getting-started into japanese.

* translate appium-clients into japanese.

* translate platform-support into japanese.

* Update docs/ja/about-appium/appium-clients.md

Have them review it and reflect their suggestions.

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* The word "driver" needs no translation.

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/platform-support.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/getting-started.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/intro.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/intro.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/intro.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/platform-support.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/platform-support.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/intro.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/intro.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/platform-support.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* Update docs/ja/about-appium/intro.md

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>

* No need to translate'capability' into japanese.

* Unify the word to "サーバー"

* A space around alphabet or number

* Fix Review point.

Co-authored-by: Kazuaki Matsuo <fly.49.89.over@gmail.com>
2021-01-25 12:46:33 +09:00
Mykola Mokhnach ca001513ab docs: Document rotateElement extension (#15051) 2021-01-24 21:16:47 +01:00
Kazuaki Matsuo 5b72c1e6ff docs: refer to each repository (#15050) 2021-01-25 03:13:52 +09:00
Kazuaki Matsuo 05466e45a7 docs: address 1.20.2, add a hint to enable accessibility for ios (#15043)
* docs: address 1.20.2, add a hint to enable accessibility for ios

* update review
2021-01-23 03:47:35 +09:00
Kazuaki Matsuo ea8ac8a57c docs: address build tools version 24+ for apksigner (#15030)
* docs: address build tools version 24+ for apksigner

* Update android-espresso.md

* Update android-uiautomator2.md
2021-01-17 18:09:07 +09:00
Appium Triagerandrunner f1a56274fe docs: Update generated docs [ci skip] (#15025)
Co-authored-by: runner <runner@Mac-1610686944435.local>
2021-01-15 14:54:32 +09:00
Kazuaki Matsuo f1dadc4c98 docs: fix a link in caps 2021-01-14 21:48:57 -08:00
ian.zhang 3d7d9802ab docs: Update start-recording-screen.yml (#15014)
Revise the default value  of options.videoType.
Previous:
mpeg4
Post:
mjpeg

reference:
https://github.com/appium/java-client/blob/master/src/main/java/io/appium/java_client/ios/IOSStartScreenRecordingOptions.java
2021-01-14 21:22:24 -08:00
Kazuaki Matsuo 84aaf5eae6 docs: update changelog for 1.20.1 (#15023) 2021-01-15 04:57:36 +09:00
Kazuaki Matsuo b4b4c3cc89 docs: refer to each repository (#15010) 2021-01-11 17:41:03 +09:00
Maria Clara dos Santos Bezerra 628dc1aef2 docs: update README with english tutorial version to learn Appium with Python (#14999)
* update README

* Update README.md
2021-01-08 02:58:10 +09:00
BoldAsLove 793e9e17e0 docs: fix example comment (#14995)
changed the app name in a comment for the notepad example from AlarmClock to Notepad
2021-01-06 09:12:24 +09:00
Dan Graham 87b64b9a18 docs: swap out hamcrest.org reference 2021-01-05 09:48:13 -08:00
Dan Graham 7a7d0ced10 docs: changelog for Appium v1.20 (#14985) 2021-01-05 08:34:14 -08:00
Mykola Mokhnach a776456ed5 chore: Switch to GitHub CI (#14978) 2021-01-01 18:19:32 +01:00
dpgraham d9bb604fb6 rename release-candidate.sh to release 2020-12-30 11:41:58 -08:00
Jonathan Lipps 9d8779a224 feat: add --keep-alive-timeout CLI arg to adjust server keepalive and connection timeout 2020-12-15 11:01:17 -08:00
Kazuaki Matsuo a1ef920af1 chore: add 1.19.1 in changelog (#14947) 2020-12-14 10:40:15 +09:00
Kazuaki Matsuo 149ce03b84 chore: remove authorize-ios from package (#14946) 2020-12-13 06:18:09 +09:00
Kazuaki Matsuo 09437412c8 docs: add links to mac2 driver in caps and settings (#14942)
* cods: add links to mac2 driver in caps and settings

* tweak naming
2020-12-11 04:39:58 +09:00
roman-olshevskiy 0256991162 docs: removed deprecated method (#14934)
assert.equal was deprecated — since v9.9.0 - use strictEqual() instead.
2020-12-09 09:14:26 +09:00
Appium Triagerandrunner 604170a7ad docs: Update generated docs [ci skip] (#14930)
Co-authored-by: runner <runner@Mac-1607067954655.local>
2020-12-04 17:11:34 +09:00
Kazuaki Matsuo 509ab16612 chore: fix a link in appium.io (#14929)
* fix links

* fix
2020-12-04 17:07:53 +09:00
Ilija Boshkov 6184bf96b6 docs: Update push-file.yml (#14920) 2020-12-01 12:00:00 +09:00
Dan Graham 12e28c9e08 chore: add scripts for doing releases (#14918) 2020-11-29 13:01:03 -08:00
Mykola Mokhnach 090640e348 docs: Add Mac2Driver documentation (#14914) 2020-11-25 08:26:11 +01:00
Mykola Mokhnach a5c6f1c80e feat: Add Mac2Driver (#14911) 2020-11-25 07:52:48 +01:00
Appium Triagerandrunner 8d181dd19f docs: Update generated docs [ci skip] (#14913)
Co-authored-by: runner <runner@Mac-1606273407156.local>
2020-11-25 12:20:45 +09:00
Kazuaki Matsuo eb189d4588 fix: fix urls in docs (#14910) 2020-11-25 05:25:01 +09:00
861 changed files with 5375 additions and 50252 deletions
+2 -9
View File
@@ -1,9 +1,2 @@
**/coverage/**
**/node_modules/**
examples/javascript-wd
**/build/**
**/*.min.js
sample-code
**/*.d.ts
**/build-fixtures/**
**/*.ts
coverage
node_modules
+1 -41
View File
@@ -1,43 +1,3 @@
{
"extends": "@appium/eslint-config-appium",
"overrides": [
{
"files": "packages/fake-driver/**/*",
"rules": { "require-await": "off" }
},
{ "files": "packages/support/**/*", "globals": { "BigInt": "readonly" } },
{
"files": "packages/*/test/**/*",
"rules": { "func-names": "off" }
},
{
"files": "./packages/*/scripts/**/*.js",
"parserOptions": {
"sourceType": "script"
}
},
{
"files": "./packages/*/test/**/*.js",
"rules": {
"no-restricted-properties": [
"error",
{
"object": "sinon",
"property": "spy",
"message": "Use `sandbox = sinon.createSandbox()` and `sandbox.spy()` instead. Don't forget to call `sandbox.restore()` in `afterEach`"
},
{
"object": "sinon",
"property": "stub",
"message": "Use `sandbox = sinon.createSandbox()` and `sandbox.stub()` instead. Don't forget to call `sandbox.restore()` in `afterEach`"
},
{
"object": "sinon",
"property": "mock",
"message": "Use `sandbox = sinon.createSandbox()` and `sandbox.mock()` instead. Don't forget to call `sandbox.restore()` in `afterEach`"
}
]
}
}
]
"extends": "appium"
}
-40
View File
@@ -1,40 +0,0 @@
# Generated by FOSSA CLI (https://github.com/fossas/fossa-cli)
# Visit https://fossa.com to learn more
version: 3
project:
id: github.com/appium/appium
name: appium
paths:
exclude:
- ./sample-code
- '**/fixtures/**'
- '**/demo/**'
- '**/example/**'
- '**/examples/**'
targets:
only:
- type: npm
path: .
- type: npm
path: ./packages/appium
- type: npm
path: ./packages/base-driver
- type: npm
path: ./packages/doctor
- type: npm
path: ./packages/eslint-config-appium
- type: npm
path: ./packages/fake-driver
- type: npm
path: ./packages/gulp-plugins
- type: npm
path: ./packages/support
- type: npm
path: ./packages/test-support
revision:
branch: 2.0
+15 -5
View File
@@ -1,14 +1,25 @@
## The problem
Briefly describe the issue you are experiencing (or the feature you want to see added to Appium). Tell us what you were trying to do and what happened instead. Remember, this is _not_ a place to ask questions. For that, go to http://discuss.appium.io!
Briefly describe the issue you are experiencing (or the feature you want to see added to Appium). Tell us what you were trying to do and what happened instead. Remember, this is _not_ a place to ask questions. For that consider visiting [Appium Forum](https://discuss.appium.io)!
Before reporting the issue make sure that:
- The issue is reproducible with the most recent available server and driver versions<sup>*</sup>.
- There are no other duplicated reports of the same issue.
- Your description of the issue could be used to reproduce/understand it without any additional details.
<sup>*</sup>Appium1 is at its end of life and is not maintained actively anymore as well as compatible driver versions for it. It is highly recommended to switch to
[Appium2](https://appiumpro.com/editions/122-installing-appium-20-and-the-driver-and-plugins-cli) to have
access to the most recent server and driver fixes/updates.
## Environment
* Appium version (or git revision) that exhibits the issue:
* Last Appium version that did not exhibit the issue (if applicable):
* Driver version that exhibits the issue (only for Appium2):
* Last driver version that did not exhibit the issue (if applicable, only for Appium2):
* Desktop OS/version used to run Appium:
* Node.js version (unless using Appium.app|exe):
* Npm or Yarn package manager:
* Package manager name and version (we only officially support NPM):
* Mobile platform/version under test:
* Real device or emulator/simulator:
* Appium CLI or Appium.app|exe:
@@ -23,11 +34,10 @@ Create a [GIST](https://gist.github.com) which is a paste of your _full_ Appium
Do _NOT_ paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, _always_ include Appium logs!
## Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.
Please git clone https://github.com/appium/appium and from the `examples` directory, use one of your favourite languages and sample apps to reproduce the issue.
Please git clone https://github.com/appium/appium and from the `sample-code` directory, use one of your favourite languages and sample apps to reproduce the issue.
In case a similar scenario is missing in examples, please submit a PR with one of the sample apps provided.
In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.
-20
View File
@@ -1,20 +0,0 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/sample-code/javascript-webdriverio"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/sample-code/javascript-wd"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
-53
View File
@@ -1,53 +0,0 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Appium Build
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install latest npm
run: npm install -g npm
- name: Install dependencies
run: npm install
- name: Run unit tests
run: npm run test:ci
- name: Install @appium/fake-driver
run: npm run install-fake-driver
- name: Run E2E tests
run: npm run e2e-test
lint:
name: Lint & Check Types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: ESLint
run: npm run lint
- name: Check types
run: npm run build:types
docs:
name: Build Command Documentation
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Generate docs
run: npm run generate-docs
-21
View File
@@ -1,21 +0,0 @@
name: License Checks
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
fossa-check:
name: Run FOSSA Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: '2.0'
- name: fossa analyze
run: |
npm install
curl -sS -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
fossa analyze
fossa test
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
+37
View File
@@ -0,0 +1,37 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm run clean
- run: npm run test
- run: npm run e2e-test
generate_docs:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm run clean
- run: npm run generate-docs
+12 -20
View File
@@ -8,10 +8,10 @@ xcuserdata
*.sublime-*
test/functional/_joined
*.iml
!examples/java/*.iml
!sample-code/java/*.iml
*.autosave
.idea/
!examples/java/.idea/
!sample-code/java/.idea/
*.log
*.t
artifacts
@@ -40,22 +40,14 @@ old
.tern-project
coverage
docs/mkdocs.yml
examples/javascript-wd/node_modules
examples/php/vendor
examples/php/composer.lock
examples/java/out/
examples/ruby/Gemfile.lock
examples/python/test/results/
examples/python/test/input
examples/python/.pytest_cache/
examples/csharp/test/bin
examples/csharp/test/obj
examples/csharp/test/bin
examples/csharp/packages
sample-code/javascript-wd/node_modules
sample-code/java/out/
sample-code/ruby/Gemfile.lock
sample-code/python/test/results/
sample-code/python/test/input
sample-code/python/.pytest_cache/
sample-code/csharp/test/bin
sample-code/csharp/test/obj
sample-code/csharp/test/bin
sample-code/csharp/packages
appium.zip
.vscode/settings.json
.nyc_output
*.lerna_backup
**/build-fixtures/**
*.tsbuildinfo
packages/*/LICENSE
-12
View File
@@ -1,12 +0,0 @@
// @ts-check
'use strict';
module.exports = {
require: [
require.resolve('./test/setup.js')
],
// forbids use of .only() in CI
forbidOnly: Boolean(process.env.CI),
color: true
};
+1 -3
View File
@@ -1,4 +1,2 @@
# Do not disable package-lock. Disabling package-lock also disables npm-shrinkwrap
package-lock=true
save-exact=true
package-lock=true
+45 -22
View File
@@ -1,23 +1,46 @@
{
"version": "0.2.0",
"configurations": [
{
"args": ["--colors", "--timeout", "0", "${file}"],
"internalConsoleOptions": "openOnSessionStart",
"name": "Test - Current File",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"runtimeArgs": ["--require", "@babel/register"],
"request": "launch",
"skipFiles": ["<node_internals>/**", "**/node_modules/mocha/**"],
"type": "pwa-node",
"sourceMaps": true,
"cwd": "${workspaceFolder}",
"outfiles": [],
"env": {
"NODE_ENV": "test",
"BABEL_ENV": "test"
},
"autoAttachChildProcesses": true,
}
]
}
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"args": [
"."
]
},
{
"name": "Attach Debug",
"type": "node",
"request": "attach",
"cwd": "${workspaceFolder}",
"port": 9229
},
{
"name": "Test All",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/_mocha",
"args": [
"--require", "babel-core/register",
"--timeout", "999999",
"--colors",
"${workspaceFolder}/test"
]
},
{
"name": "Test Current File",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/_mocha",
"args": [
"--require", "babel-core/register",
"--timeout", "999999",
"--colors",
"${file}"
]
}
]
}
-136
View File
@@ -1,136 +0,0 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"label": "npm: dev",
"detail": "lerna exec --parallel gulp dev",
"isBackground": true,
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=@appium/fake-driver",
"--",
"gulp",
"transpile"
],
"label": "transpile: @appium/fake-driver",
"problemMatcher": []
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=appium",
"--",
"gulp",
"transpile"
],
"label": "transpile: appium",
"problemMatcher": []
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=@appium/support",
"--",
"gulp",
"transpile"
],
"label": "transpile: @appium/support",
"problemMatcher": []
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=@appium/test-support",
"--",
"gulp",
"transpile"
],
"label": "transpile: @appium/test-support",
"problemMatcher": []
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=@appium/gulp-plugins",
"--",
"gulp",
"transpile"
],
"label": "transpile: @appium/gulp-plugins",
"problemMatcher": []
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=@appium/doctor",
"--",
"gulp",
"transpile"
],
"label": "transpile: @appium/doctor",
"problemMatcher": []
},
{
"type": "shell",
"command": "npm",
"args": [
"exec",
"--",
"lerna",
"exec",
"--scope=@appium/base-driver",
"--",
"gulp",
"transpile"
],
"label": "transpile: @appium/base-driver",
"problemMatcher": []
},
{
"type": "npm",
"script": "test:e2e:appium",
"problemMatcher": [],
"label": "npm: test:e2e:appium",
"detail": "e2e tests: appium"
}
]
}
-66
View File
@@ -1,66 +0,0 @@
'use strict';
module.exports = (wallaby) => {
return {
compilers: {
'**/*.js': wallaby.compilers.babel(),
},
debug: true,
env: {
type: 'node',
},
files: [
'./packages/**/*.js',
'./packages/**/*.json',
'!./packages/**/build/**',
'!./packages/**/test/**/*-specs.js',
'!./packages/**/test/**/*.spec.js',
'!./packages/*/node_modules/**',
'!./packages/*/gulpfile.js',
'!./packages/*/scripts/**',
'./packages/*/test/**/fixtures/**/*',
'./packages/*/test/**/mocks.js',
'./packages/*/test/helpers.js',
'./babel.config.json',
// below this are fixtures
{
binary: true,
pattern: './packages/support/test/unit/assets/sample_binary.plist',
},
{
instrument: false,
pattern: './packages/support/test/unit/assets/sample_text.plist',
},
{
instrument: false,
pattern: './packages/base-driver/static/**/*',
},
{
instrument: false,
pattern: './packages/gulp-plugins/build/**/*',
},
// this setup file is special
{
instrument: false,
pattern: './test/setup.js'
}
],
testFramework: 'mocha',
tests: [
'./packages/*/test/**/*-specs.js',
'./packages/*/test/unit/**/*.spec.js',
'!./packages/*/test/**/*-e2e-specs.js',
'!./packages/*/test/e2e/**/*',
'!./packages/*/node_modules/**',
// this is more of an E2E test and it's tedious to run
'!./packages/gulp-plugins/test/transpile-specs.js',
],
workers: {
restart: true,
},
setup() {
require('./test/setup');
},
runMode: 'onsave'
};
};
+9 -17
View File
@@ -1,11 +1,12 @@
## Appium
[![NPM version](https://badge.fury.io/js/appium.svg)](https://npmjs.org/package/appium)
[![Node.js CI](https://github.com/appium/appium/actions/workflows/node.js.yml/badge.svg?branch=2.0)](https://github.com/appium/appium/actions/workflows/node.js.yml)
[![Node.js CI](https://github.com/appium/appium/actions/workflows/node.js.yml/badge.svg)](https://github.com/appium/appium/actions/workflows/node.js.yml)
[![Monthly Downloads](https://img.shields.io/npm/dm/appium.svg)](https://npmjs.org/package/appium)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fappium%2Fappium.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fappium%2Fappium?ref=badge_shield)
[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/)
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)
Appium is an open-source, cross-platform test automation tool for native,
hybrid, and mobile web and desktop apps. We support simulators (iOS), emulators
@@ -18,18 +19,9 @@ started](/docs/en/about-appium/getting-started.md) doc.
Appium supports app automation across a variety of platforms, like iOS,
Android, and Windows. Each platform is supported by one or more "drivers",
which know how to automate that particular platform. Choose a driver below for
specific information about how that driver works and how to set it up:
which know how to automate that particular platform.
* iOS
* The [XCUITest Driver](/docs/en/drivers/ios-xcuitest.md)
* (DEPRECATED) The [UIAutomation Driver](/docs/en/drivers/ios-uiautomation.md)
* Android
* The [Espresso Driver](/docs/en/drivers/android-espresso.md)
* The [UiAutomator2 Driver](/docs/en/drivers/android-uiautomator2.md)
* (DEPRECATED) The [UiAutomator Driver](/docs/en/drivers/android-uiautomator.md)
* The [Windows Driver](/docs/en/drivers/windows.md) (for Windows Desktop apps)
* The [Mac Driver](/docs/en/drivers/mac.md) (for Mac Desktop apps)
Please refer to [Appium Platform Support](/docs/en/about-appium/platform-support.md) for more details.
### Why Appium?
@@ -66,7 +58,7 @@ Concepts](/docs/en/about-appium/intro.md).
Your environment needs to be set up for the particular platforms that you want
to run tests on. Each of the drivers above documents the requirements for their
particular brand of automation. At a minimum, you will need to be able to run
Node.js 10+.
Node.js 12+.
### Get Started
@@ -74,13 +66,13 @@ Check out our [Getting Started](/docs/en/about-appium/getting-started.md) guide
to get going with Appium.
There is also a sample code that contains [many examples of tests in a variety
of different languages](https://github.com/appium/appium/tree/master/sample-code)!
of different languages](https://github.com/appium/appium/tree/1.x/sample-code)!
### Documentation
For prettily-rendered docs, please visit [appium.io](http://appium.io). You can
always find the full list of Appium doc pages at [Appium's GitHub
Repo](https://github.com/appium/appium/tree/master/docs/en/) as well.
Repo](https://github.com/appium/appium/tree/1.x/docs/en/) as well.
[update-appium-io.yml](https://github.com/appium/appium/blob/master/ci-jobs/update-appium-io.yml) creates a PR
by [CI job](https://dev.azure.com/AppiumCI/Appium%20CI/_build?definitionId=37).
-32
View File
@@ -1,32 +0,0 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "12"
},
"shippedProposals": true
}
]
],
"plugins": ["source-map-support", "@babel/plugin-transform-runtime"],
"comments": false,
"sourceMaps": "both",
"env": {
"coverage": {
"plugins": [
[
"istanbul",
{
"exclude": ["test", "build"]
}
]
]
},
"test": {
"retainLines": true,
"comments": true
}
}
}
+71
View File
@@ -0,0 +1,71 @@
#!/usr/bin/env node
/* eslint no-console:0 */
/*
* Small tool, launching and monitoring ios-web-kit-proxy, and relaunching
* on predefined errors.
*
* Usage:
* ./bin/ios-webkit-debug-proxy-launcher.js [args]
* args: ios-webkit-debug-proxy args (they will be passed over)
*
* Example:
* ./bin/ios-webkit-debug-proxy-launcher.js -c <UDID>:27753 -d
*
* Note:
* For iOS8.1 try this first:
* brew install --HEAD ideviceinstaller
*/
'use strict';
const spawn = require('child_process').spawn;
const _ = require('lodash');
const args = process.argv.slice(2);
const RESTART_ON_MESSAGES = [
'Invalid message _rpc_applicationUpdated',
'Invalid message _rpc_applicationSentListing'];
const PROXY_CMD = 'ios_webkit_debug_proxy';
let proxy;
const handleKillProcess = function (exitCode) {
console.log('\nKilling proxy process!');
proxy.kill('SIGTERM');
process.exit((exitCode || 0));
};
const startProxy = function () {
console.log(`RUNNING: ${PROXY_CMD} ${args.join(' ')}`);
proxy = spawn(PROXY_CMD, args);
proxy.stdout.on('data', function onStdout (data) {
console.log(`stdout: ${data}`);
});
proxy.stderr.on('data', function onStderr (data) {
console.log(`stderr: ${data}`);
const restartMessage = _(RESTART_ON_MESSAGES).find(function findMessage (message) {
return ('' + data).indexOf(message) >= 0;
});
if (restartMessage) {
console.log(`Detected error message: ${restartMessage}`);
console.log('Killing proxy!');
proxy.kill('SIGTERM');
process.nextTick(startProxy);
}
});
proxy.on('close', function onClose (code) {
console.log(`Child process exited with code ${code}`);
});
};
process.on('SIGINT', handleKillProcess);
process.on('SIGTERM', handleKillProcess);
startProxy();
+2 -4
View File
@@ -1,13 +1,11 @@
#!/usr/bin/env node
const path = require('path');
const childProcess = require('child_process');
const _ = require('lodash');
const res = JSON.parse(childProcess.execSync('npm pack --dry-run --json --ignore-scripts', {cwd: path.join(__dirname, '..'), encoding: 'utf8'}))[0];
const res = JSON.parse(childProcess.execSync('npm pack --dry-run --json --ignore-scripts', {encoding: 'utf8'}))[0];
// List of files we are testing to make sure they are included in package
const testFiles = [
'npm-shrinkwrap.json', // Check that npm-shrinkwrap.json is being packed
'LICENSE', // Check that license is included
'build/lib/appium.js', // Sanity check that build files are being included by testing just one file
];
+25
View File
@@ -0,0 +1,25 @@
const _ = require('lodash');
const { asyncify } = require('asyncbox');
const { fs, logger } = require('appium-support');
const path = require('path');
const log = new logger.getLogger('ShrinkwrapValidator');
async function main () {
const shrinkwrapPath = path.resolve('npm-shrinkwrap.json');
if (!(await fs.exists(shrinkwrapPath))) {
log.info('No shrinkwrap found. Skipping shrinkwrap check');
return;
}
const shrinkwrap = JSON.parse(await fs.readFile(shrinkwrapPath));
const backupShrinkwrap = JSON.parse(await fs.readFile(path.resolve('npm-shrinkwrap-backup.json')));
log.info('Checking that pruned shrinkwrap is a subset of primary shrinkwrap');
if (!_.isMatch(backupShrinkwrap, shrinkwrap)) {
log.errorAndThrow('Pruned shrinkwrap (shrinkwrap with dev dependencies removed) is not a subset of the original npm-shrinkwrap.json');
}
log.info('Shrinkwrap check passed');
}
if (require.main === module) {
asyncify(main);
}
+29
View File
@@ -0,0 +1,29 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
- script: npm install
displayName: NPM install
- script: |
git remote add triager https://triager:$GITHUB_TOKEN@github.com/appium/appium
git checkout -b $MINOR_BRANCH_NAME
git status
node ./ci-jobs/scripts/set-package-json-version
rm -rf package-lock.json
npm shrinkwrap
git add .
git commit -n -m "Set version to $(MINOR_BRANCH_NAME).0-rc.0"
git push -u triager $MINOR_BRANCH_NAME
displayName: Create branch
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
MINOR_BRANCH_NAME: $(MINOR_BRANCH_NAME)
- script: |
git tag $MINOR_BRANCH_NAME.0-rc.0
git push --tags -u triager
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npm publish --tag $(node ./ci-jobs/scripts/parse-tag)
env:
NPM_TOKEN: $(NPM_TOKEN)
displayName: Tag and Publish
+7 -3
View File
@@ -1,8 +1,8 @@
# parameters: # No params yet, but may add later
jobs:
- job: generate_docs
pool:
vmImage: "macOS 10.14"
pool:
vmImage: "macOS-latest"
variables:
CC: gcc
CXX: g++
@@ -15,7 +15,11 @@ jobs:
npm install
brew install hub
hub --version
git config --global user.name "Appium Maintainers"
git config --global user.email "maintainers@appium.io"
git remote add triager https://triager:$GITHUB_TOKEN@github.com/appium/appium
# Change the main branch
git checkout 1.x
git checkout -b generate-docs-$BUILD_SOURCEVERSION
git status
displayName: Checkout Generate Docs Branch
@@ -33,7 +37,7 @@ jobs:
if [[ -n $(git status -s) ]]; then
git commit -a -n -m 'Update generated docs [ci skip]'
git push triager generate-docs-$BUILD_SOURCEVERSION
hub pull-request -b "appium:master" -h "appium:generate-docs-$BUILD_SOURCEVERSION" -m "docs: Update auto-generated docs"
hub pull-request -b "appium:1.x" -h "appium:generate-docs-$BUILD_SOURCEVERSION" -m "docs: Update auto-generated docs for Appium 1"
fi
displayName: Generate Docs and Make PR
env:
+2 -2
View File
@@ -2,7 +2,7 @@
jobs:
- job: bundle_and_upload_appium_zip
pool:
vmImage: 'macOS 10.14'
vmImage: 'macOS-latest'
variables:
CC: gcc
CXX: g++
@@ -12,7 +12,7 @@ jobs:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
- script: npm install
- script: npm ci || npm install # "npm ci" if shrinkwrap is present
displayName: Install NPM Dependencies
- script: npm run build
displayName: npm run build
+3 -3
View File
@@ -2,14 +2,14 @@
jobs:
- job: update_appium_io
pool:
vmImage: 'Ubuntu-18.04'
vmImage: 'Ubuntu-20.04'
variables:
CC: gcc
CXX: g++
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
versionSpec: '14.x'
- script: |
pip install mkdocs==0.16.3
git config --global user.email "maintainers@appium.io"
@@ -28,4 +28,4 @@ jobs:
popd
displayName: Make branch with Updated Docs and make PR
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
GITHUB_TOKEN: $(GITHUB_TOKEN)
@@ -7,9 +7,6 @@ example_usage:
|
driver.startRecordingScreen();
driver.startRecordingScreen(new BaseStartScreenRecordingOptions(....));
javascript_wd:
|
await driver.startRecordingScreen();
javascript_wdio:
|
driver.startRecordingScreen();
@@ -37,7 +34,6 @@ example_usage:
client_docs:
java: "https://static.javadoc.io/io.appium/java-client/6.1.0/io/appium/java_client/screenrecording/CanRecordScreen.html#startRecordingScreen-T-"
python: "https://appium.github.io/python-client-sphinx/webdriver.extensions.html#webdriver.extensions.screen_record.ScreenRecord.start_recording_screen"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L3412"
javascript_wdio: "https://webdriver.io/docs/api/appium.html#startrecordingscreen"
ruby:
- android: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Android/Device#start_recording_screen-instance_method"
@@ -8,7 +8,7 @@ example_usage:
element.clear();
python:
|
self.driver.find_element_by_accessibility_id('SomeAccessibilityID').clear()
self.driver.find_element(by=AppiumBy.ACCESSIBILITY_ID, value="SomeAccessibilityID").clear()
javascript_wd:
|
let element = await driver.elementByAccessibilityId("SomeAccessibilityID");
@@ -13,8 +13,8 @@ example_usage:
el.click();
python:
|
el = self.driver.find_element_by_accessibility_id('SomeId')
el.click();
el = self.driver.find_element(by=AppiumBy.ACCESSIBILITY_ID, value='SomeId')
el.click()
javascript_wd:
|
let element = await driver.elementByAccessibilityId('id', 'SomeId');
@@ -14,7 +14,7 @@ example_usage:
element.sendKeys("Hello world!");
python:
|
self.driver.find_element_by_accessibility_id('SomeAccessibilityID').send_keys('Hello world!')
self.driver.find_element(by=AppiumBy.ACCESSIBILITY_ID, value="SomeAccessibilityID").send_keys('Hello world!')
javascript_wd:
|
let element = await driver.elementByAccessibilityId("SomeAccessibilityID");
@@ -62,7 +62,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/attribute/:name
url: /session/:session_id/element/:element_id/attribute/:name
method: 'GET'
url_parameters:
- name: session_id
@@ -67,7 +67,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/css/:property_name
url: /session/:session_id/element/:element_id/css/:property_name
method: GET
url_parameters:
- name: session_id
@@ -44,7 +44,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/location_in_view
url: /session/:session_id/element/:element_id/location_in_view
method: GET
url_parameters:
- name: session_id
@@ -63,7 +63,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/location
url: /session/:session_id/element/:element_id/location
method: GET
url_parameters:
- name: session_id
@@ -61,7 +61,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/name
url: /session/:session_id/element/:element_id/name
method: 'GET'
url_parameters:
- name: session_id
@@ -63,7 +63,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/rect
url: /session/:session_id/element/:element_id/rect
method: GET
url_parameters:
- name: session_id
@@ -63,7 +63,7 @@ client_support:
# Information about the HTTP endpoints
endpoint:
url: /session/:session_id/elements/:element_id/size
url: /session/:session_id/element/:element_id/size
method: GET
url_parameters:
- name: session_id
@@ -12,7 +12,7 @@ example_usage:
MobileElement elementTwo = (MobileElement) driver.findElementByClassName("SomeClassName");
python:
|
el = driver.find_element(AppiumBy.ACCESSIBILITY_ID,'SomeAccessibilityID')
el = self.driver.find_element(by=AppiumBy.ACCESSIBILITY_ID, value="SomeAccessibilityID")
javascript_wd:
|
let elementOne = await driver.elementByAccessibilityId("SomeAccessibilityID");
@@ -84,4 +84,4 @@ endpoint:
# Links to specifications. Should link to at least one specification
specifications:
w3c: https://www.w3.org/TR/webdriver/#find-element
jsonwp: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelement
jsonwp: https://www.selenium.dev/documentation/legacy/json_wire_protocol/#sessionsessionidelement
@@ -104,4 +104,4 @@ endpoint:
# Links to specifications. Should link to at least one specification
specifications:
w3c: https://www.w3.org/TR/webdriver/#dfn-find-elements
jsonwp: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelements
jsonwp: https://www.selenium.dev/documentation/legacy/json_wire_protocol/#sessionsessionidelements
@@ -38,14 +38,14 @@ client_docs:
# Driver support by platform
driver_support:
ios:
xcuitest: false
xcuitest: true
uiautomation: false
android:
uiautomator2: false
espresso: false
uiautomator2: true
espresso: true
uiautomator: false
mac:
mac: false
mac: true
windows:
windows: false
client_support:

Some files were not shown because too many files have changed in this diff Show More