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

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.
主站蜘蛛池模板: 通城县| 平安县| 苏尼特左旗| 永兴县| 荔浦县| 留坝县| 台中市| 亚东县| 汉寿县| 长葛市| 商洛市| 双峰县| 宜章县| 肃南| 平顺县| 怀柔区| 宿迁市| 增城市| 隆德县| 洪泽县| 克什克腾旗| 平原县| 望城县| 县级市| 阜宁县| 克东县| 河津市| 体育| 新建县| 逊克县| 斗六市| 健康| 定西市| 邓州市| 嵊州市| 莲花县| 洛川县| 东阳市| 江孜县| 佳木斯市| 嘉兴市|