Google's WebDriver


May 12th, 2009

In the current state of javascript heavy web applications, it is really difficult to write tests or specs that can accurately test your application. Rspec view specs just can't capture dynamic nature of modern web pages. I am currently using Selenium paired with Cucumber for integration testing. The test writing is laborious and frustrating and the tests are sometimes unreliable. But the outcome of having them is undeniably valuable. Selenium definitely has flaws, slow and memory hungry to mention a few. But last Friday, a new kid on the block entered the browser automation scene. Because Google announced WebDriver, a lightweight browser automation and testing tool developed as a firefox plugin. It appears to have a pretty clean API and I would expect a couple of solid ruby and rails based adapters to already be in the works (if not already done). I will definitely be looking into WebDriver this week.

Also posted at ELC Tech Blog

Leave a Reply