Application introduction:
Selenium 2, also known as WebDriver, its main new feature is the integration of Selenium 1.0 and WebDriver (WebDriver was once a competitor of Selenium). In other words, Selenium 2 is the merger of the two projects Selenium and WebDriver, that is, Selenium 2 is compatible with Selenium, and it supports both Selenium API and WebDriver API. WebDriver is a tool used for complex and repetitive web automation testing. It is intended to provide an API that is easier to learn and easier to maintain than Selenium 1.0. It is not bound to any testing framework, so it can be called in unit tests and main methods. Once you create a Selenium project, you will immediately find that WebDriver is the same as other class libraries: it is completely independent and you can use it directly without considering other configurations. This Selenium RC is the complete opposite.
Features:
Advantages of Webdriver
When the two frameworks are merged, the deficiencies of one framework are compensated by the other. WebDriver's support for browsers requires corresponding development by corresponding framework development engineers; similarly Selenium must operate a real browser, but WebDriver can simulate the browser with HTML unit driver and execute use cases in memory, which is more portable. Selenium 1.0 solves some common problems in automated testing, and WebDriver better solves sandbox limitations. WebDriver does not support parallelism, but Selenium Grid solves this problem.
it works
it works
it works