Appium: Preparing for a Mac environment

Source: Internet
Author: User
Tags appium

    • Simple way: Download dmg files directly on Appium website for installation:

http://appium.io/ Click download Download. DMG

Double-click this again. DMG files for automatic installation;

Once the installation is complete, drag it to the list of applications.

Double-click the app icon to open it and open it as shown (Mac needs to set "security options" first, allowing apps to open third-party channels)

650) this.width=650; "src=" http://note.youdao.com/yws/res/1363/WEBRESOURCE73c82807f161e7eca8910414496e0b97 "alt=" Webresource73c82807f161e7eca8910414496e0 "/>

Check again to verify that the required tools are fully installed (if not, follow the prompts to install them):

Show running iOS all done;

650) this.width=650; "src=" http://note.youdao.com/yws/res/1367/WEBRESOURCE31312d726955b3c848a0ece0ed30f7b0 "alt=" webresource31312d726955b3c848a0ece0ed30f "/>

Installation is complete!

Start successfully!

    • command-line mode to install Appium on Mac

1. Install Xcode on your Mac

2. Install the Toolkit brew on Mac (please ignore the installed)

Official website mode prompt installation http://brew.sh/index_zh-cn.html /bin/ruby-e "$ (Curl-fssl https://raw.githubusercontent.com/ Homebrew/install/master/install) "

3. Install the note, open the console, enter

"Brew Install note"

4. Install Appium, open the console, enter

"Brew install-g appium"

5. After installing Appium, it is recommended to install a Appium GUI, enter

"NPM Install WD"

After installation, enter "Appium" on the command line to start, will prompt Appium version number and other information;

Problem Description:

1. When booting with Appium, prompt port is occupied, can kill the occupied process

First, find out which process is consuming port

"Lsof-i:8080"

After the check, "pkill process name " Kill the occupation process, and then restart the Appium;

2. Enter Appium or Appium & in the command to start the Appium, the difference is

appium : Direct start

Appium & : First show the PID of Appium, then start;

3. Accompanying Help commands

"Appium-doctor"


Appium: Preparing for a Mac environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.