Getting Started with Appium 2.0 Beta

Installing Appium 2.0 Server

npm install -g appium@next
  • -ah to specify a directory to install Appium drivers
appium server -ah /path/to/install/drivers driver install uiautomator2
  • -ka or –keep-alive-timeout to specify the number of seconds the Appium server should apply as both the keep-alive timeout and the connection timeout for all requests. Defaults to 600 seconds.
appium server -ka 800

Decoupled Drivers

appium driver list✔ Listing available drivers- uiautomator2 [not installed]- xcuitest [not installed]- youiengine [not installed]- windows [not installed]- mac [not installed]- mac2 [not installed]- espresso [not installed]- tizen [not installed]- flutter [not installed]- safari [not installed]- gecko [not installed]
appium driver install uiautomator2
Attempting to find and install driver 'uiautomator2'
✔ Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver'Driver uiautomator2@1.61.2 successfully installed- automationName: UiAutomator2- platformNames: ["Android"]
appium driver list --installed✔ Listing installed drivers- uiautomator2@1.61.2 [installed (NPM)]

Plugins

appium plugin list✔ Listing available plugins- images [not installed]
appium plugin install images
appium server -ka 800 --plugins=images -pa /wd/hub[Appium] Welcome to Appium v2.0.0-beta.10[Appium] Non-default server args:[Appium] plugins: {[Appium] 0: images[Appium] }[Appium] basePath: /wd/hub[Appium] keepAliveTimeout: 800[Appium] tmpDir: /var/folders/f5/fwh8w_ms6q377gn_fb2bmjp40000gp/T[Appium] Appium REST http interface listener started on 0.0.0.0:4723[Appium] Available drivers:[Appium] - uiautomator2@1.61.2 (automationName 'UiAutomator2')[Appium] - xcuitest@3.36.0 (automationName 'XCUITest')[Appium] Available plugins:[Appium] - images@1.1.2 (ACTIVE)

Other Breaking Changes

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store