官术网_书友最值得收藏!

Installing Appium

Appium requires macOS X 10.7 or a higher version; we would recommend 10.10 (Yosemite) or a later version. To work with Appium, we need both the Appium GUI app (installed via the .dmg file) and the Appium server (installed via Homebrew), as explained here:

  1. Install Xcode and the Xcode command-line tool.
  2. Download the appium.dmg file from https://bitbucket.org/appium/appium.app/downloads/.
  3. Install Homebrew (http://brew.sh/) on your machine. This will need Ruby to be installed on your machine. Run the below command to install Homebrew:
Homebrew is a package manager for Mac OS. It installs packages to their own directories and then symlinks their files into /usr/local.
  /usr/bin/ruby -e "$(curl -fsSL       
https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Post the install run command to ensure that Homebrew is up to date:
      brew update
  1. To install node on your machine, run this command:
      brew install node
  1. Once the preceding commands are executed and don't throw up any errors, we can run one final command to check the successful Node and npm install. Run the below command to check the successful installation (of Node and npm) and this should successfully install grunt-cli:
Node.js is an open source, cross-platform JavaScript runtime environment for developing a diverse variety of tools and applications.
npm is the default package manager for the JavaScript runtime environment Node.js.
  1. To install Appium server and Appium doctor using node, we can run the given command:
      npm install -g appium
npm install -g appium-doctor
  1. Once Appium doctor is installed, we can run the appium-doctor command in the terminal and see the following output:
  1. Once done, we can run the appium command in the terminal and see this output:

So, the preceding section completes the Appium setup on both the app and the server. However, we can also install Appium server from source.

主站蜘蛛池模板: 临颍县| 靖边县| 咸阳市| 大港区| 阳西县| 夹江县| 昭觉县| 深水埗区| 汉源县| 米易县| 石屏县| 庄浪县| 兴海县| 龙游县| 亳州市| 喀喇| 洮南市| 明光市| 波密县| 九龙城区| 府谷县| 永平县| 双桥区| 旬邑县| 宣城市| 石渠县| 南丰县| 和平县| 富顺县| 勃利县| 广东省| 襄垣县| 信宜市| 婺源县| 大新县| 德兴市| 镇巴县| 新沂市| 临汾市| 金山区| 彩票|