How to handle with appium-doctor

Vanessa Soares
2 min readSep 2, 2022

--

But what is appium-doctor? 🤔

Appium-doctor is a Node lib that checks the checklist required for your environment to function, displaying a diagnostic that shows exactly what is missing and what is as expected.

In your terminal, start using the following command to install appium-doctor:

npm install -g appium-doctor

Recognizing the diagnosis

Simply enter the following command in the Mac or Linux terminal to obtain the diagnosis:

appium-doctor

The appium-doctor diagnosis is divided into two categories:

Necessary Dependencies

These are the dependencies that the appium DEPENDS on that are as expected to start running in your development environment.

Optional Dependencies

These are the dependencies that appium does NOT depend on to start running in your development environment.

And we also have the Optional Manual Fixes topic that aims to explain why the x or y configuration is important and how you can install it.

The script below can help you to install each of these dependencies if necessary, both for your Linux terminal and your Mac.

https://gist.github.com/vanessafsoares/451ccecd26eec383114f42e5da5310db

--

--

Vanessa Soares
Vanessa Soares

Written by Vanessa Soares

Software Quality Engineer • mãe de gatos • ela/dela • (L)GBT 🏳️‍🌈

No responses yet