Official Selenium Blog

February 15, 2011

Selenium 2.0b2 Released

Filed under: Releases,Technical — shs96c @ 2:06 am GMT+0000

We’ve just released Selenium 2.0b2. If you’re the impatient sort who loves to have the latest and greatest, head over to the download site and get it while it’s hot. If you’re a Python user, then all you need to do is a simple “pip install -U selenium”. Ruby users can, as ever, simply run “gem install selenium-webdriver”. Maven users need to wait just a little bit longer: we’re going to be checking the release in ASAP.

Between beta 1 and beta 2, we held a week-long Bug Bash, during which we closed a significant number of bugs. From a user’s perspective, other highlights include:

  • A more stable, capable iPhone driver.
  • Updated Android driver.
  • Improved python bindings for Selenium WebDriver. The namespace is now “selenium.webdriver”
  • Added “Selenium.getCssCount” to mirror “Selenium.getXpathCount”
  • WebElement.getText()” performs more consistently across different browsers.
  • Mono users can use the .Net bindings
  • Continued to improve the WebDriverBackedSelenium. If you’re looking to migrate from Selenium 1 to Selenium 2, and want to take your time, this is a useful stepping stone.
  • Reworked the Advanced User Interactions APIs. The big change is that the WebDriver APIs no longer rely on classes from the AWT.
  • .Net users now have more support classes, to make writing tests less tiresome.
  • The remote webdriver makes better use of sockets, which improves stability and scalability on Windows.
  • Started to add support for driving multiple IE instances. This is considered experimental, but we’d love to hear it’s working for you!

If you’re interested in the guts of Selenium 2 and how it worked, then you might find these interesting:

  • Continued reworking the IE and iPhone drivers to use the Automation Atoms.
  • Reworked the structure of the source tree to be more language focused.
  • We have the skeleton of a webdriver-backed selenium for Python.

As you can see, this is a big release. Beta 3 should be out a lot more quickly, and will be focusing on improving support for IE 9 and Firefox 4. Over the course of the 2.0b3 development, we shall also be removing as many deprecated methods as possible, so be sure to remove deprecation warnings from your builds when using 2.0b2!


  1. Where is it? I can’t find it here ( yet..

    PS: You might consider using something called a hyperlink when referencing to the download page 😉

    Comment by toba — February 15, 2011 @ 10:00 am GMT+0000 | Reply

    • Link added to the post. I’ll update the webpage too. Thanks for the reminder!

      Comment by shs96c — February 16, 2011 @ 5:08 am GMT+0000 | Reply

  2. […] This post was mentioned on Twitter by Vincent Behar and A. Ebbert-Karroum, Selenium Examples. Selenium Examples said: Selenium Blog: Selenium 2.0b2 Released – We've just released Selenium 2.0b2. If you're the impatient sort who loves … […]

    Pingback by Tweets that mention Selenium 2.0b2 Released « Official Selenium Blog -- — February 15, 2011 @ 10:24 am GMT+0000 | Reply

  3. Really really cool! Tnx u guys!
    ps: when we see a ‘jquery-css-selector’ instead the XPath? 😀

    Comment by PadovaBoy — February 15, 2011 @ 4:18 pm GMT+0000 | Reply

  4. Great news! Any word on when we’ll see this in Maven Central?


    Comment by Jason Lee — February 15, 2011 @ 4:22 pm GMT+0000 | Reply

  5. Good to see the latest updates on Selenium 2.0. Any updates on Selenium Grid 2.0?

    Comment by Anand — February 16, 2011 @ 3:50 am GMT+0000 | Reply

    • It’s in a branch. We’ll pull it into trunk ASAP.

      Comment by shs96c — February 16, 2011 @ 5:07 am GMT+0000 | Reply

  6. Please update org.seleniumhq.selenium:selenium-common in Maven Repo.
    I see only 2.0b1 version.

    Comment by Sergey — February 17, 2011 @ 1:47 pm GMT+0000 | Reply

  7. Will a SeleniumIDE 2.0 beta be available soon?

    Comment by Greg — February 18, 2011 @ 1:15 am GMT+0000 | Reply

  8. I just upgraded from selenium-server-standalone-2.0b1.jar to selenium-server-standalone-2.0b2.jar. I seem to be missing the packages: org.openqa.selenium.WebDriverBackedSelenium and com.thoughtworks.selenium.DefaultSelenium. Is it just me? Or am I missing something?

    Comment by Garrick — February 23, 2011 @ 7:24 pm GMT+0000 | Reply

  9. I also would like to know if you are planning to release IDE 2.0

    Comment by Mark — February 24, 2011 @ 11:26 pm GMT+0000 | Reply

  10. I got 2.0b2 to work, you have to include the following snippet:



    Comment by Guillaume Jeudy — March 1, 2011 @ 5:50 pm GMT+0000 | Reply

  11. For those who are still looking for selenium-common artifact in Maven repo, use selenium-api rather than selenium-common from 2.0b2 – it appears to have moved. HTH.

    Comment by Phil Lopez — March 4, 2011 @ 4:06 am GMT+0000 | Reply

  12. Lolz.. selenium.mouseOver() was soooooooo muchhhhhh simple than all those action stuff… hope you guys can make mouse and keyboard interaction easier on webdriver xD

    Comment by leonardo — March 11, 2011 @ 9:52 pm GMT+0000 | Reply

  13. Hi
    Where do i get python binding for selenium 2.0, i am using Windows 7 OS please let me know from where i get the binding and how to install it

    Comment by sant — May 20, 2011 @ 8:43 am GMT+0000 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: