跳转至

appium setup

Installs a specific preset of extensions (drivers and plugins), or uninstalls all extensions. When installing a preset, any already installed extensions are kept intact.

The following sub-subcommands are supported: browser, desktop, mobile, and reset.

Refer to the Ecosystem documentation to learn more about the extensions mentioned below.

browser

Installs the following extensions for browser webview testing:

  • Drivers: safari1, gecko, chromium
  • Plugins: images

Usage

appium setup browser

desktop

Installs the following extensions for desktop application testing:

  • Drivers: mac21, windows2
  • Plugins: images

Usage

appium setup desktop

mobile

Installs the following extensions for mobile testing:

  • Drivers: uiautomator2, xcuitest1, espresso
  • Plugins: images

Usage

appium setup mobile

You can also omit the mobile sub-subcommand:

appium setup

reset

Uninstalls all installed extensions, along with their manifest files, from the Appium home directory. This can be useful if you experience configuration issues on server startup, for example, due to a failed upgrade attempt from an older Appium version.

Usage

appium setup reset

  1. Only installed if the host machine is running macOS. 

  2. Only installed if the host machine is running Windows.