Site icon TestingDocs.com

What are different Selenium components?

Introduction

In this tutorial, we will learn about different Selenium components. Selenium is a suite of products. Selenium suite can be divided into the following major components.

Selenium RC

Selenium RC is a server written in Java language. RC in the name stands for Remote Control. Sometimes, it is also referred to as Selenium 1. It is deprecated now and is legacy. It accepts commands from the browser via HTTP protocol. Selenium RC made it possible to write automation tests against Web applications in different languages like Java, Python, Perl, Ruby, etc.

There are some drawbacks of Selenium RC. One is that you need to run the server before the automation tests. Another major disadvantage is that we need to install the web application under test ( WAUT ) along with a web server on the local machine. The RC server acts as a proxy and tricks the browser to consider Selenium Core and AUT as being from the same domain. ( Same origin policy ).

Selenium Core

Selenium Core is a JavaScript module that is capable to to interact with DOM ( Document Object Model) using js calls. With Selenium RC this is also deprecated.

 

WebDriver

Web Driver is the successor to the Selenium RC tool. It’s also referred to as Selenium 2. WebDriver is an API framework for testing browsers from the operating system level. WebDriver interacts with the browser natively on different platforms. Unlike Selenium RC, WebDriver does not require any server to run in the background while executing tests.

Selenium Grid

Selenium Grid is a server that allows automation tests to run against browsers running on remote machines. One machine acts like Hub and others are called nodes. The tests running on node machines contact the Hub to gain access to browsers. The main advantage of Selenium Grid is that it allows tests to run in parallel and on different cross-platform machines. Using Grid, you can reduce the testing time by testing on different machines. Selenium Grid also helps with Cross-browser testing.

https://www.testingdocs.com/what-is-selenium-grid/

Selenium IDE

Selenium IDE is a Firefox browser add-on. It helps in recording and playback selenium tests. Scripts are recorded using Selenese. Selenese is a scripting language. The scripting language allows interaction with Browser using commands.

Selenium Tutorials on this website:

https://www.testingdocs.com/selenium-webdriver-tutorial/

Official Website:

https://www.selenium.dev/

Exit mobile version