Socket
Socket
Sign inDemoInstall

appium-webdriverio

Package Overview
Dependencies
560
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    appium-webdriverio

Appium WebdriverIO Starter Boilerplate for NodeJS with Mocha. Test your mobile apps with ease!


Version published
Weekly downloads
63
decreased by-40%
Maintainers
1
Install size
206 MB
Created
Weekly downloads
 

Readme

Source


🍭

Appium WebdriverIO


Appium WebdriverIO Starter Boilerplate for NodeJS with Mocha. Test your mobile apps with ease!

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.

      Appium Inspector

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! 🫡

Appium Inspector

🚀 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
Allure Report

Keywords

FAQs

Last updated on 07 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc