Q1.How is Appium 2 structured, and what changed from Appium 1?
Short answer: Appium 2 is a server plus separately installed drivers (UiAutomator2 for Android, XCUITest for iOS) and optional plugins. In Appium 1 the drivers were bundled. Your test client sends W3C WebDriver commands to the server, which passes them to the driver for that platform.
npm install -g appium
appium driver install uiautomator2
appium driver install xcuitest # macOS only
appium # starts the server on port 4723
Another Appium 2 change: the default base path is /, not /wd/hub. Old client configs that still use /wd/hub fail to connect.
- What is an Appium plugin? (e.g. the images plugin for image-based locators)
