Can someone please explain the Selenium Webdriver Architecture ?

0 votes
6 days ago in Selenium by Keshav

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey Keshav, there are four basic components of WebDriver Architecture:

  1. Selenium Language Bindings: Selenium developers have built language bindings/Selenium Client Libraries in order to support multiple languages. For instance, if you want to use the browser driver in java, use the java bindings. All the supported language bindings can be downloaded from the official website ( of Selenium.

  2. JSON Wire Protocol: JSON (JavaScript Object Notation) is an open standard for exchanging data on web. It supports data structures like object and array. So, it is easy to write and read data from JSON. JSON Wire Protocol provides a transport mechanism to transfer data between a server and a client. JSON Wire Protocol serves as an industry standard for various REST web services.

  3. Browser Drivers: Selenium uses drivers, specific to each browser in order to establish a secure connection with the browser without revealing the internal logic of browser's functionality. The browser driver is also specific to the language used for automation such as Java, C#, etc. When we execute a test script using WebDriver, the following operations are performed internally:

    • HTTP request is generated and sent to the browser driver for each Selenium command.

    • The driver receives the HTTP request through HTTP server.

    • HTTP Server decides all the steps to perform instructions which are executed on browser.

    • Execution status is sent back to HTTP Server which is subsequently sent back to automation script.

  4. Real Browsers: Browsers supported by Selenium WebDriver:

    • Internet Explorer

    • Mozilla Firefox

    • Google Chrome

    • Safari

answered 6 days ago by Pratibha
• 2,520 points

Related Questions In Selenium

+1 vote
1 answer

Can someone explain the meaning of WebDriver wd = new ChromeDriver();?

WebDriver webdriver = new ChromeDriver(); The following simply ...READ MORE

answered Dec 14, 2018 in Selenium by Aniket
0 votes
1 answer

How can I download the *.jar file from http:// using selenium WebDriver?

For Selenium Standalone Server use this: profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/java-archive"); and ...READ MORE

answered Apr 9, 2018 in Selenium by Martin
• 4,210 points
0 votes
1 answer

Newbie here. Can someone please summarize the difference between selenium1 and selenium2?

Selenium 1 included Selenium RC, Selenium IDE ...READ MORE

answered Apr 18, 2018 in Selenium by king_kenny
• 3,590 points
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,030 points
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
0 votes
1 answer
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

answered May 8 in Selenium by Pratibha
• 2,520 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.