From 81832aea8f4f06af8d1d93ddb98426238f26dd40 Mon Sep 17 00:00:00 2001 From: GleidsonDaniel Date: Fri, 8 Apr 2022 10:47:59 -0300 Subject: [PATCH] update appium inspector doc --- appium/appium-config.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/appium/appium-config.md b/appium/appium-config.md index eced8717b..ccc418fef 100644 --- a/appium/appium-config.md +++ b/appium/appium-config.md @@ -1,11 +1,31 @@ ## Settings + - Install Node.js (Options) - - using installer `https://nodejs.org/en/download/` - - for mackbook - `brew install node` - - for windows - `choco install nodejs` + + - using installer `https://nodejs.org/en/download/` + - 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 inspector from - `https://github.com/appium/appium-inspector/releases` (Optional). -- install global dependencies for Appium using npm - `npm install -G appium` \ No newline at end of file +- 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" +} +```