Architecture of Selenium 3 vs Selenium 4

Selenium 3 Architecture:

Selenium 3 Architecture is made up of four major components:

  • Selenium Client library / Language Bindings
  • JSON wire protocol over HTTP
  • Browser Drivers
  • Browsers

Selenium Client Library connects with Browser Drivers and Browsers using the JSON (JavaScript Object Notation) Wire Protocol.?

JSON protocol provides a transport mechanism for transferring data between client and server on the web through various data structures like arrays and objects used to read and write data from JSON.

JSON acts as a REST (Representational State Transfer) API to exchange information between HTTP servers.?

JSON wire protocol was used before Selenium version 3.8. After Selenium 3.8, W3C protocol was introduced. But, in version 3 they still provided the support for JSON wire protocol, which was completely removed later in Selenium 4


Selenium 3Architecture

Selenium 4 Architecture:

W3C protocol was introduced because all the web browsers followed the W3C standards and also all the browser drivers followed the W3C standards. To standardize the communication, JSON wire protocol was replaced by W3C. This helped in better communication with the browsers, stability, and common code (i.e. no browser specific code required).?

Due to W3C there is a direct transfer of information between client and server. Major components of selenium 4 are selenium client and webdriver language bindings.

Selenium 4 Architecture




要查看或添加评论,请登录

ANANDU K V的更多文章

  • Selenium Basics

    Selenium Basics

    Selenium Basics – Components, Features, and Limitations Selenium is a powerful tool for controlling web browser through…

  • Automation Testing

    Automation Testing

    As an Automation test engineer you should be familiarized with the terms HTML Tags, Element Locators, Web Application…

  • Automation Testing

    Automation Testing

    Are you the one who keeps on thinking 'How to switch from Manual Testing to Automation Testing ? I am gonna help you…

    1 条评论

社区洞察

其他会员也浏览了