update appium inspector doc

This commit is contained in:
GleidsonDaniel 2022-04-08 10:47:59 -03:00
parent 61081d1af5
commit 81832aea8f
1 changed files with 24 additions and 4 deletions

View File

@ -1,11 +1,31 @@
## Settings ## Settings
- Install Node.js (Options) - Install Node.js (Options)
- using installer `https://nodejs.org/en/download/`
- for mackbook - `brew install node` - using installer `https://nodejs.org/en/download/`
- for windows - `choco install nodejs` - for mackbook - `brew install node`
- for windows - `choco install nodejs`
- Download and install Appium from - `https://github.com/appium/appium-desktop/releases`. - Download and install Appium from - `https://github.com/appium/appium-desktop/releases`.
- Download and install Appium inspector from - `https://github.com/appium/appium-inspector/releases` (Optional). - Download and install Appium inspector from - `https://github.com/appium/appium-inspector/releases` (Optional).
- install global dependencies for Appium using npm - `npm install -G appium` - install global dependencies for Appium using npm - `npm install -G appium`
## Default settings for appium inspector
- Set Remote Host to: `127.0.0.1`
- Set Remote Path to: `/wd/hub`
- And update Desired Capabilities/JSON to:
```
{
"platformName": "android",
"appium:platformVersion": "12",
"appium:deviceName": "emulator",
"appium:automationName": "UiAutomator2",
"appium:appPackage": "chat.rocket.reactnative",
"appium:appActivity": "chat.rocket.reactnative.MainActivity"
}
```