Selenium is a tool to automate web based and mobile based applications.
For web based applications selenium is having inbuild drivers to communicate but for mobile based , selenium will need the additional source to communicate and it is called appium.
High Level Selenium Architecture
1. Language Binding:
This is where we write our automation code.
Languages supported by Selenium are java, python, C#...
It convert our code into WebDriver commands. It acts as an interface between user code and Selenium.
2. Browser Drivers:
This is the middle layer that connects code to browser.
Eg:
ChromeDriver, EdgeDriver, SafariDriver ...
* 3. Browsers : *
Final executions happen here.
Eg :
Chrome, edge , safari ...
Internal Selenium Architecture :
Web Driver class:
This is the main entry point in Selenium.
Eg:
driver = webdriver . Chrome ()
Enter fullscreen mode
Exit fullscreen mode
It initializes the browser session.…