Selenium 2.0 merges with WebDriver
January 26, 2011 —
(Page 1 of 2)
After a year and a half of work, Selenium and WebDriver are almost one. The two projects will merge to form Selenium 2.0, the open-source cross-browser Web testing framework. The fruits of this merger should allow existing Selenium users more flexibility for their tests, while remaining backwards compatible. Selenium 2.0 entered beta just before the end of 2010, and is nearing a final release candidate.
Simon Stewart, creator of WebDriver, explained the merger in an e-mail to both communities in August of 2009. “Why are the projects merging?” he asked. “Partly because WebDriver addresses some shortcomings in Selenium (by being able to bypass the JS sandbox, for example. And we’ve got a gorgeous API), partly because selenium addresses some shortcomings in WebDriver (such as supporting a broader range of browsers), and partly because the main Selenium contributors and I felt that it was the best way to offer users the best possible framework.”
WebDriver uses browser-native control mechanisms to execute its tests, rather than relying solely on JavaScript, as Selenium does. WebDriver manifests as an extension in Firefox and uses the Internet Explorer automation controls, resulting in a more versatile testing tool than Selenium. Selenium, because it is written in JavaScript, is beholden to browser security models and is thus limited in its ability to truly test applications without restrictions.
Jason Huggins got started with Selenium at Google, where he ran the search firm's internal Selenium testing cloud. He has since left Google and founded Sauce Labs, a firm that sells access to its own Selenium testing cloud. Huggins said version 2.0 will support Android and iOS for the first time.
Support for these mobile devices will come thanks to WebDriver: Both devices are supported through browser plug-ins. Users will be able to run tests directly on an actual handset, or within an emulated mobile browser environment; the plug-in functions in both scenarios.
But, said Huggins, one fundamental problem for Selenium users still remains: maintaining large numbers of tests can result in long build times.
Related Search Term(s): Selenium, WebDriver
Share this link: http://sdt.bz/35212
Related Articles
Sauce Labs offers new Selenium Builder
Cross-browser tool offers Web application test construction without the need to write Selenium tests by hand
|
Windmill 1.0 set for release, promises dedicated support
Seeking to create a Web application testing program that was both well-coded and well-supported, two developers have nearly completed version 1.0 of Windmill. Aside from dedicated support, the Windmill team says that it has better debugging capabilities than other open-source testing programs.
|