Difference between Selenium 1 and Selenium 2
Topic |
Selenium RC |
Selenium WebDriver |
---|---|---|
Automation Methodology |
It relies on the JavaScript Injection and function to interact with Web Elements and for automation process. |
It can directly interact with the web elements using native methods. |
Interaction with Browser |
It uses JavaScript to interact with the Browsers which sometimes cause synchronization error. |
It communicates with the browser directly. |
Cross Domain Testing |
It can’t do cross domain testing due to various browser restrictions and security policies. |
It can handle and perform Cross Domain Testing seamlessly. |
Simplicity of API |
It has a complex and less user-friendly API. |
It offers a simple and more user-friendly API which makes the test scripts more readable and maintainable. |
Browser Support |
Selenium RC struggles to work with most of the newer versions of the browsers. |
It supports all the latest versions of the web browsers. |
Elimination of Selenium Core |
It relied upon Selenium Core which is a JavaScript based Automation Engine. |
Selenium Core dependency was removed from the Selenium WebDriver. |
Language Support |
It supported a very few numbers of programming languages. |
It supports a plethora of programming languages and supports most of the renowned programming languages. |
What is the main difference between Selenium 1 and Selenium 2?
Selenium is a suite of software widely used in the field of automation and testing, it has been a key player in the field of automation for a long time. This article will deep into Automation and discuss the difference between Selenium version 1 and Selenium version 2, highlighting their differences, advantages, and disadvantages.
Whether the user is an experienced Selenium user in the field of Automation testing for a long time or a completely new and who is curious or entering the real-time of automation, knowing the difference between the two versions is always a plus point.
Table of Content
- What are the different versions of Selenium?
- Difference between Selenium 1 and Selenium 2
- Selenium version 1
- Limitations of Selenium Version 1
- Selenium Version 2
- Difference between Selenium 1 and Selenium 2
- Conclusion
- Frequently Asked Questions on Difference between Selenium 1 and Selenium 2