What is the difference between Selenium IDE, Server, RC, 2.0, and WebDriver?

前端 未结 2 627
挽巷
挽巷 2020-12-13 02:45

Selenium seems to have a lot of different components and the website does not explain them very well and I\'m still a bit confused which is which. What\'s the difference or

相关标签:
2条回答
  • 2020-12-13 02:54

    You're almost right.

    • Selenium IDE is a Firefox plugin used for rapid prototyping of test cases in Selenese/HTML, which can also export test cases in a variety of programming languages.

    • Selenium Server is a standalone java program which allows you to run test cases written in a variety of programming languages with a variety of web browsers, and which can additionally run HTML test suites in a range of different browsers, plus extra options like reporting. (My point is that the --htmlsuite option of selenium-server.jar is not its primary function, and will soon be split out into a separate program.)

    • Selenium Remote Control is an API for programming tests in a variety of languages in Selenium 1 and Selenium 2, and also the name of the Selenium 1 server that runs the API.

    • WebDriver is an API for programming tests in a variety of languages in Selenium 2, which can run with or without a server.

    • Selenium 2 is the latest version of the Selenium project, and includes the IDE, Server and both the Selenium RC and WebDriver APIs.

    In addition:

    • Selenium Grid is a server that distributes tests across a set of Selenium Servers. In Selenium 1 it is a separate server, in Selenium 2 it is integrated into the Selenium Server.
    0 讨论(0)
  • 2020-12-13 03:05

    Accepted answer is good, but since then better explanation were posted on internet:

    • Relationships between different versions of Selenium - with a graph of relations
    • Architecture of Selenium WebDriver by Simon Stewart, explaining history of the project, and challenges. Fascinating reading!
    0 讨论(0)
提交回复
热议问题