Agenda for this blog: To discuss about the architecture of WebDriver and its functionality and approach that it follows to interact with WebElements.
WebDriver Architecture:
WebDriver itself is an interface and the Selenium WebDriver API communicates between the written script/commands using the respective language bindings and the Browser engine to automate the Application,It uses a protocol called JSON wire Protocol and referred as WebDriver Protocol,Please find the image for the basic architecture of the WebDriver:
Internal Flows of
WebDriver functionality and how it
interacts with WebElements:
Selenium-WebDriver makes direct calls
to the browser using each browser’s native support for automation and its
JS-Engine. How these direct calls are made, and the features they support
depends on the browser you are using.
It does not inject Javascript like Selenium-RC
at the time of loading the browser.
The following incidents are occurred
while execution of the Webdriver script:
1. Basically we write the script using
any language binding (Java/C# etc) and it hits the WebDriver API.
2. The script/commands (ex :
driver.findElement(By.Id(“xyz”))) gets
converted into Javascript.
3. By the help of Browser Engine it
again gets converted into the JSon, which is kind of key-value pair .
4. After getting the respective value
for the respective key it identifies the respective WebElements and performs
the respective user actions(like click,sendkeys etc etc..).
5. All the communications are happened
by using a protocol call JSon-Wire Protocol, which is also called WebDriver
protocol.
Find the below image for the communication that occurs between Script and WebElements:
Visit for More Automation Related Discussion:
We create this web page article is really good and it's useful to me. I'm already automation tester I'll learn for Selenium webdriver Architecture to our blog . Correctly Selenium Automation best trends automation tool many their company using selenium Tools to like for -
ReplyDeleteSelenium Training in Chennai
I accept there are numerous more pleasurable open doors ahead for people that took a gander at your site.
ReplyDeleteselenium training in chennai|
selenium training in bangalore|
I‘d mention that most of us visitors are endowed to exist in a fabulous place with very many wonderful individuals with very helpful things.
ReplyDeletehadoop training in bangalore
Existing without the answers to the difficulties you’ve sorted out through this guide is a critical case, as well as the kind which could have badly affected my entire career if I had not discovered your website.
ReplyDeleteData Science Training in Chennai
Robotic Process Automation Training in Chennai
Cloud Computing Training in Chennai
Data Warehousing Training in Chennai
Dev Ops Training in Chennai
Existing without the answers to the difficulties you’ve sorted out through this guide is a critical case, as well as the kind which could have badly affected my entire career if I had not discovered your website.
ReplyDeleteBest PHP Training Institute in Chennai|PHP Course in chennai
Best .Net Training Institute in Chennai
Big Data Hadoop Training in Chennai
Linux Training in Chennai
Cloud Computing Training in Chennai