WebdriverIO - Architecture



WebdriverIO architecture consists of the following components −

  • NodeJS

  • WebdriverIO

  • JavaScript

  • JSON Wire Protocol

  • Services

  • Browsers

  • Application

Nodejs is enabled to execute the JavaScript runtime environment. It is actually an open-source project. WebdriverIO is developed on Nodejs and JavaScript is the script implemented by the end-user using the WebdriverIO library.

Thus the JavaScript implemented by the end-user passes a request using the WebdriverIO via Nodejs to the Services (in the format of an HTTP command). The entire process is done following the JSON Wire Protocol.

Services send the request to the browsers like Chrome, Firefox, and so on to execute a test against the application under test. Thus the Services can be termed as a middle-layer between the browser and the automation framework.

Advertisements