admc/wd — pull request #36 by theojepsen (2012-07-17 13:45:47+00:00)
Title: Implemented takeScreenshot

I noticed that takeScreenshot (/screenshot) was not implemented, so I simply added it to webdriver.js (just a few lines). I also added a test to per-method-test that takes a screenshot and uses the imageinfo node module to do a sanity check on the returned image (parse it and check format, width and height).