Professional Documents
Culture Documents
Presentation 1
Presentation 1
Arc h i t e ct u r
e
Tabel of Content
Selenium
A Quick WebDriver-
Walkthrough of Architecture.
Selenium • Selenium client
History? library.
• Selenium API.
• JSON wire Protocol
• Browser driver.
• Browser.
Selenium WebDriver-Architecture
Client Binding/Language Binding
Client library provides various methods to perform different
browser Action.
Each methods in Mapped with Specific web-services on the
Driver.
As a Automation Test engineer ,we call this methods from our
development environment…Eg.Eclipse.
Once we Write and Execute the TestScript,
It convert Code to JSON format.
Sends Request to Driver over HTTP .
Browser-Driver
Each Browser has its Own Implementation of “WebDriver” is
called Driver.
Each Browser’s Driver is Maintained by their respective
Browser.
Eg : ChromeDriver is maintained Google.
Driver Interprets the Request from the Client and Perform
action on the Actual Browser.
Once the browser operation is complete,
The respond is Send back to the Client Library by driver in the
JSON format.
Then Client library interprets the JSON responds .
And prints the response in the Readable format in the Eclipse
Console.
Selenium WebDriver-Architecture
Thank you