Just a quick note to let you know that the Selenium 2.0b1 has just
been released. So, what does this first beta bring you?
* A promise of relatively stable APIs
* Including (for firefox only right now) handling of alerts
* A brand new IE driver.
* Better selenium emulation when using webdriver
* Bug fixes in the selenium server
* Ubiquitous use of Sizzle for emulating CSS selectors
* Better emulation of webdriver's API when delegating to Selenium
* The advanced user interactions API
* An update to the AndroidDriver's Android app.
* The selenium 1.x emulation using IE is a little flaky
* The IE driver is brand new. Let us know of issues!
* The ChromeDriver is not as capable as the others
* Anything in our bug list
You can find it here:
and the javadocs here:
I expect the beta to be uploaded to maven some time in the next few
days. The ruby, python and C# bindings should also be refreshed soon
When will the beta end?
When we've implemented the alerts and prompts API in all supported
browsers. We expect there to be some flex in some APIs (removing
deprecated methods, and within the advanced user interactions API) but
what you have here is basically what you're going to get when we hit
2.0 final :) I have no idea how long this will take, but if you're
interested in helping out, let us know!
How to try it out
If you're currently using Selenium RC (the 1.x APIs) and want to try
out the new APIs without rewriting your tests, consider creating your
Selenium instance like so:
String baseUrl = "http://www.google.com";
WebDriver driver = new FirefoxDriver();
Selenium selenium = new WebDriverBackedSelenium(
You can access the underlying webdriver instance like so:
WebDriver driver =
This allows you to migrate piecemeal to the new APIs without rewriting
everything. Although we've done our best to provide really great
support for the 1.x APIs this way, we know it's not perfect. Let us
know if you run into any bumps along the way! 
Thanks are due to all the committers who have worked so hard to get
this code into shape. We've come a long way since we merged the
selenium and webdriver projects. It's been a fantastic journey so far.
Thanks are also due to all the people who have taken the time to file
bugs, ask for features and participated on the mailing lists. Thank
you to you too, for going out and trying this new beta of Selenium 2.
You rock. :)