The Appium client is a few extensions and encapsulation of the Webdriver native API. It can help us to write use cases more easily and write better use cases.
The Appium client is used in conjunction with the native Webdriver, so the two must be used together.
Starting from this section, the content of the tutorial will cover 3 languages, Ruby/python/java.
Install Appium Clientruby (be sure to install it online)
Ruby's Appium client is called Appium Lib, why is this not explained, in short, historical reasons.
First update Rubygem and bundler (say the truth, really don't need to, but the official document says so)
Gem Update-system; Gem Update bundler
Then use the Gem to install
Gem Uninstall-install --no-rdoc--no-ri appium_lib
Python article (try to install online)
Recommended PIP Installation
Install Appium-python-client
of course, you can also download the source installation on the pipy
tar -xvf appium-python-client-x.x.tar. GZ (7zip can decompress on Windows) CD Appium-python-client- Install
Finally, it can also be installed via GitHub (to git client)
git clone [email protected]:appium/python-client.gitcd python-Install
Java chapter (online installation)
Java, you can use MAVEN to install it.
<dependency> <groupId>io.appium</groupId> <artifactid>java-client</ artifactid> <version>1.3. 0</version></dependency>
Of course, you can also download the jar package yourself, please choose the latest version yourself.