1.0.4 ā€¢ Published 7 months ago

appium-webdriverio v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Build status Version License Package Monthly Downloads Docs

ā—ļø This guide is mainly intended to be used as an Android User.

āœØ Pre-requisites

  • Install Node (https://nodejs.org/en/download/)
  • Install Java (https://www.java.com/en/)
  • Setup ANDROID_HOME & JAVA_HOME
  • Install Android Studio (If you want to test using an emulator)

  • In order to get your app selectors I recommend you to install Appium Inspector, it can be found here.

    1. Open the application you've just installed.
    2. Type 0.0.0.0 in Remote Host.
    3. Type 4723 in Remote Port.
    4. Type '/wd/hub' in Remote Path.
    5. Configure your "Desired Capabilities": There are tons of options but you only need this to start.

      {
        "platformName": "Android",
        "appium:platformVersion": "12",
        "appium:deviceName": "Android Emulator",
        "appium:app": "{PATH TO APK OR IPA FILE}",
        "appium:automationName": "UiAutomator2" // Default option
      }

      Read more about desired capabilities here.

You're almost done, at this point you just need to run Appium Desktop by clicking the "startServer" button and then go to the Appium Inspector application and click the "Start session" button. Now that your session has started you will see your application at the left and elements TREE at the right. Click an element to see the selectors to use in your tests. Always try to set accessibility ids! šŸ«”

šŸš€ Install & Run boilerplate

Install it locally and run in easy steps

1- cd appium-webdriverio
2- npm install
3- npm test

šŸ“Š Run tests with allure reports

Pre-requisites:

brew install allure

Generate & Open

npm run test-allure
1.0.4

7 months ago

1.0.3

11 months ago

1.0.2

12 months ago

1.0.1

1 year ago

1.0.0

2 years ago