Introducing WebDriver
WebDriver is a developer focused tool for writing automated tests of web applications.
Features
- Small, clean API. Based on two core interfaces, one of the explicit goals of the project is to have a simple, intuitive API where code completion in your IDE provides an obvious answer to the question "what can I do next?"
- Works with multiple browsers. There is currently support for both Internet Explorer and Firefox. In addition, there's a pure in-memory implementation based on HtmlUnit.
- Fast. The in-memory implementation is particularly fast, allowing test runs to be as quickly as possible.
- Supports evolving tests. Because there are multiple implementations of the interface, you're free to pick the one that's most appropriate for your test. When you don't need Javascript support, for example, the lightweight in-memory WebDriver implementation is an obvious choice because of its speed. When you suddenly drop in that AJAX component on your pages, there's no need to rewrite the tests: just change to another implementation.
Bindings for languages other than Java are planned, as is support for Safari. The project has been released under an Apache 2 license.
Posted in: /tech
You may comment...