Appium翻译篇【 appium/docs/en/about-appium/appium-clients.md 】

List of client libraries with Appium server suppor

These libraries wrap standard Selenium client libraries to provide all the regular selenium commands dictated by the JSON Wire protocol, and add extra commands related to controlling mobile devices, such as multi-touch gestures and screen orientation.

Appium client libraries implement the Mobile JSON Wire Protocol (an official draft extension to the standard protocol), and elements of the W3C Webdriver spec (a transport-agnostic automation spec; this is where the MultiAction API is defined).

The Appium server itself defines custom extensions to the official protocols, giving Appium users helpful access to various device behaviors (such as installing/uninstalling apps during the course of a test session). This is why we need Appium-specific clients, not just the ‘vanilla’ Selenium clients. Of course, Appium client libraries only add functionality (in fact, they simply extend the standard Selenium clients), so they can still be used to run regular Selenium sessions.

这些库封装了标准的Selenium客户端库,以提供JSON有线协议规定的所有常规Selenium命令,并添加与控制移动设备相关的额外命令,例如多点触摸手势和屏幕方向。

Appium客户端库实现了移动JSON有线协议(标准协议的正式扩展草案)和W3C Webdriver规范(与传输无关的自动化规范;这里定义了多动作API)。

Appium服务器本身定义了官方协议的自定义扩展,为Appium用户提供了访问各种设备行为的帮助(比如在测试过程中安装/卸载应用程序)。这就是为什么我们需要特定于appium的客户端,而不仅仅是原生的Selenium客户端。当然,Appium客户端库只添加功能(实际上,它们只是扩展了标准的Selenium客户端库),因此它们仍然可以用于运行常规的Selenium会话。

Language/Framework Github Repo and Installation Instructions
Ruby https://github.com/appium/ruby_lib, https://github.com/appium/ruby_lib_core
Python https://github.com/appium/python-client
Java https://github.com/appium/java-client
JavaScript (Node.js) https://github.com/admc/wd
JavaScript (Node.js) https://github.com/webdriverio/webdriverio
JavaScript (Browser) https://github.com/projectxyzio/web2driver
Objective C https://github.com/appium/selenium-objective-c
PHP https://github.com/appium/php-client
C# (.NET) https://github.com/appium/appium-dotnet-driver
RobotFramework https://github.com/serhatbolsu/robotframework-appiumlibrary

你可能感兴趣的:(Appium翻译篇,程序人生,经验分享,其他)