Selenium WebDriver Architecture

Selenium WebDriver Architecture

Selenium WebDriver Architecture post gives you brief in-details knowledge about architecture of Selenium WebDriver,why selenium organization released Selenium WebDriver if Selenium RC-Remote Control is already in working,let’s see the details in this post.

Selenium RC Problems

1.Selenium RC works with JavaScript injection
2.Selenium RC identify the elements based upon JavaScript in different browsers.
3.In IE Browser JavaScript injection is removed.
4.Most of the different browsers has different JavaScript to work with web page elements.

In order to overcome with those problems in Selenium RC-Remote Controller ,selenium org launched Selenium WebDriver.

Must Read

TOP Selenium Interview Questions asked in MNC
How to Send attachments in Jenkins emails
Selenium XPATh tutorial step by step
How to send extent reports in email with screenshots
Write Test Cases PASS or FAIL using Selenium

ALSO READ  Run Selenium Script using runnable JAR

Selenium WebDriver Architecture

Please find below screenshot to understand clearly as well as please watch Architecture video tutorials with explanation.In Selenium WebDriver no proxy server present but in Selenium RC it has Proxy server which is used to send all the commands to different drivers whether it may be Firefox browser , IE Browser or Chrome browsers etc.

ALSO READ  Run Selenium Webdriver Scripts using Command Line

n Architecture it has three components those are

1.Language Bindings
2.Selenium Server – it’s a set of API’s
3.Drivers

Selenium Supports

Selenium supports different languages what ever language your are using for writing your test scripts in selenium webdriver,those language bindings sending commands across the Selenium Server i.e API interface and sending requested commands from languages bindings to different drivers those are firefox,IE,chrome browsers etc.

Drivers receiving commands from Server directly and performing the actions on different browsers as per different commands using  remote WebDriver, what ever the test execution as we are seeing while test execution in the UI. Next it will return the response to the API Server and API Server return the response to the language bindings and your test execution results displays in CONSOLE with PASS/FAIL.

ALSO READ  What is the default port number used by hub in Selenium?

Also Read – Selenium Tutorial

Conclusion

Selenium Webdriver directly executes commands on different browsers with out any proxy servers.Selenium Webdriver executes test scripts very fast because there is no another server to wait for language bindings commands to executes and it will take very less time to identify the web elements on different browsers.

Rajesh K

5 thoughts on “Selenium WebDriver Architecture

Leave a Reply

Your email address will not be published. Required fields are marked *