Files
appium/sample-code
Kazuaki Matsuo 3e98cc98f3 chore: merge master to 2.0 (#15007)
* fix: fix urls in docs (#14910)

* docs: Update generated docs [ci skip] (#14913)

Co-authored-by: runner <runner@Mac-1606273407156.local>

* feat: Add Mac2Driver (#14911)

* docs: Add Mac2Driver documentation (#14914)

* chore: add scripts for doing releases (#14918)

* docs: Update push-file.yml (#14920)

* chore: fix a link in appium.io (#14929)

* fix links

* fix

* docs: Update generated docs [ci skip] (#14930)

Co-authored-by: runner <runner@Mac-1607067954655.local>

* docs: removed deprecated method (#14934)

assert.equal was deprecated — since v9.9.0 - use strictEqual() instead.

* docs: add links to mac2 driver in caps and settings (#14942)

* cods: add links to mac2 driver in caps and settings

* tweak naming

* chore: remove authorize-ios from package (#14946)

* chore: add 1.19.1 in changelog (#14947)

* feat: add --keep-alive-timeout CLI arg to adjust server keepalive and connection timeout

* rename release-candidate.sh to release

* chore: Switch to GitHub CI (#14978)

* docs: changelog for Appium v1.20 (#14985)

* docs: swap out hamcrest.org reference

* docs: fix example comment (#14995)

changed the app name in a comment for the notepad example from AlarmClock to Notepad

* docs: update README with english tutorial version to learn Appium with Python (#14999)

* update README

* Update README.md

* remove duplicated lib/parser.js

* install fakedriver

Co-authored-by: Appium Triager <maintainers@appium.io>
Co-authored-by: runner <runner@Mac-1606273407156.local>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com>
Co-authored-by: Dan Graham <dpgraham.85@gmail.com>
Co-authored-by: Ilija Boshkov <ilija.boshkov@gmail.com>
Co-authored-by: runner <runner@Mac-1607067954655.local>
Co-authored-by: roman-olshevskiy <56480723+roman-olshevskiy@users.noreply.github.com>
Co-authored-by: Jonathan Lipps <jlipps@gmail.com>
Co-authored-by: BoldAsLove <john.wojner@gmail.com>
Co-authored-by: Maria Clara dos Santos Bezerra <clarinhab@gmail.com>
2021-01-11 08:04:13 +09:00
..
2019-03-25 09:29:17 -07:00
2018-10-29 17:26:27 +00:00

Sample Code

Sample Appium code written in multiple client languages

Running sample code

  • Follow the Appium setup guide to install Appium locally.
  • Choose the client library that you wish to run and then follow the guide in sample-code/<client-language>/README.md (e.g.: sample-code/java/README.md)

Environment variables

  • DEV: If set to true, runs apps that are downloaded from GitHub, otherwise runs apps that are in local directory
  • IOS_DEVICE_NAME: Sets the deviceName capability for iOS. Otherwise uses some default
  • IOS_PLATFORM_VERSION: Sets the platformVersion capability for iOS. Otherwise uses some default
  • ANDROID_DEVICE_NAME: Sets the deviceName capability for Android. Otherwise uses some default
  • ANDROID_PLATFORM_VERSION: Sets the platformVersion capability for Android. Otherwise uses some default
  • SAUCE_LABS: If set to true, runs tests on Sauce Labs. Requires being setup on SauceLabs to run these tests.