Selenium Introduction

What is selenium?

Selenium is an open source Test Automation Framework which is used for automating web applications(WebSites) to validate its functionality with test automation scripts.

What is FrameWork?

A program language that provides a set of ready made methods and functions which is used to do specific actions along with the set rules which we need to follow is known as framework.

Uses of Selenium

  • Functional test cases of web applications can be easily automated.
  • Selenium is open source and it is portable.
  • Selenium contains ready made methods like user perform manual testing.
  • Selenium supports a wide range of browsers to run test scripts.
  • Selenium supports languages such as Java, Perl, PHP, Python , C# and Ruby.
  • Selenium supports different operating systems such as Mac,Windows, Linux, UNIX, etc.

What is a Driver?

A Driver is a component which helps to communicate between OS and device.Here device can be any type such as hardware or software.



What is WebDriver?

WebDriver is an interface, it provides a set of interfaces to discover and manipulate DOM elements in web documents and to control the behavior of web pages.

WebDriver communicates with the browser by using the browser driver in the below sequence.

/session/{session id}/element/{element id}/action 

Ex : /session/{session id}/element/{element id}/click

What is Selenium WebDriver?

Selenium webdriver is a wrapper on webdriver of w3c recommendation and it provides ready made methods to perform actions.