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

Selenium WebDriver 

Selenium WebDriver is the successor of Selenium RC (Remote Control), which has been officially deprecated. Selenium WebDriver accepts commands using the JSON-Wire protocol (also called Client API) and sends them to a browser launched by the specific driver class (such as ChromeDriver, FirefoxDriver, or IEDriver). This is implemented through a browser-specific browser driver. It works with the following sequence:

  1. The driver listens to the commands from Selenium 
  2. It converts these commands into the browser's native API
  3. The driver takes the result of native commands and sends the result back to Selenium:

We can use Selenium WebDriver to do the following:

  • Create robust, browser-based regression automation
  • Scale and distribute scripts across many browsers and platforms
  • Create scripts in your favourite programming language

Selenium WebDriver offers a collection of language-specific bindings (client libraries) to drive a browser. WebDriver comes with a better set of APIs that meet the expectations of most developers by being similar to object-oriented programming in its implementation. WebDriver is being actively developed over a period of time, and you can see many advanced interactions with the web as well as mobile applications.

The Selenium Client API is a language-specific Selenium library that provides a consistent Selenium API in programming languages such as Java, C#, Python, Ruby, and JavaScript. These languages bindings let tests to launch a WebDriver session and communicate with the browser or Selenium Server.
主站蜘蛛池模板: 牡丹江市| 北京市| 平谷区| 庐江县| 永兴县| 微山县| 平谷区| 定远县| 许昌市| 项城市| 蓝山县| 大安市| 台湾省| 柳州市| 二连浩特市| 台安县| 德阳市| 宿州市| 湖口县| 卓尼县| 南陵县| 巴青县| 肇东市| 汉阴县| 常州市| 南部县| 西城区| 河西区| 通州区| 遵化市| 凤台县| 姜堰市| 吉安市| 龙南县| 饶阳县| 义乌市| 蕲春县| 安乡县| 简阳市| 中牟县| 天台县|