Selenium WebDriver Architecture
How Selenium WebDriver Work
Selenium Architecture Explanation
- Once we Trigger our test, complete selenium code (Client) written by us will be converted to JSON (RESTful web service ) format
- Next step is to sent the JSON to Browser Drivers through HTTP Protocol.
- Browser driver communicate with its respective browser and execute the commands by interpreting JSON .
- Browser Driver receives responses back from the browser and it sends JSON response back to client.
More Technical Aspect
- Any implementation of WebDriver that communicates with any of the browsers use a common wire protocol.
- This wire protocol defines a Restful web service using JSON over HTTP.
Post a Comment