Menu

1 / 3

Python Selenium Architecture

DEV Community·CK Yumna·6 months ago
#PL279nIp
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.